mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-05-01 09:26:38 +00:00
Make validation less verbose (#24)
This commit is contained in:
@@ -76,7 +76,7 @@ func (i *ListTask) Update() (err error) {
|
||||
ot.Done = false
|
||||
}
|
||||
|
||||
_, err = x.ID(i.ID).Cols("text", "description", "done", "due_date_unix", "reminder_unix").Update(ot)
|
||||
_, err = x.ID(i.ID).Cols("text", "description", "done", "due_date_unix", "reminders_unix").Update(ot)
|
||||
*i = ot
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user