Fixed removing reminders

This commit is contained in:
kolaente 2019-11-24 16:13:16 +01:00
parent dcec9511dc
commit 37efd5cb49
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B

View File

@ -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
}