diff --git a/pkg/models/tasks.go b/pkg/models/tasks.go index 88d69f6e..b6e021ad 100644 --- a/pkg/models/tasks.go +++ b/pkg/models/tasks.go @@ -788,7 +788,7 @@ func (t *Task) updateReminders(reminders []int64) (err error) { if len(remindersToDelete) > 0 { _, err = x.In("reminder_unix", remindersToDelete). And("task_id = ?", t.ID). - Delete(TaskAssginee{}) + Delete(TaskReminder{}) if err != nil { return err }