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 {
|
if len(remindersToDelete) > 0 {
|
||||||
_, err = x.In("reminder_unix", remindersToDelete).
|
_, err = x.In("reminder_unix", remindersToDelete).
|
||||||
And("task_id = ?", t.ID).
|
And("task_id = ?", t.ID).
|
||||||
Delete(TaskAssginee{})
|
Delete(TaskReminder{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue