From 37efd5cb49139ac839fd12bc9880e4928f0dff98 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 24 Nov 2019 16:13:16 +0100 Subject: [PATCH] Fixed removing reminders --- pkg/models/tasks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }