Fixed removing reminders
This commit is contained in:
parent
dcec9511dc
commit
37efd5cb49
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue