1
0

Renamed list items to tasks

This commit is contained in:
konrad
2018-08-30 08:09:17 +02:00
committed by kolaente
parent d5758e0444
commit d31f16aff1
18 changed files with 249 additions and 249 deletions

View File

@ -14,7 +14,7 @@ func (l *List) Delete() (err error) {
return
}
// Delete all todoitems on that list
_, err = x.Where("list_id = ?", l.ID).Delete(&ListItem{})
// Delete all todotasks on that list
_, err = x.Where("list_id = ?", l.ID).Delete(&ListTask{})
return
}