Refactor ListTask to Task (#92)
This commit is contained in:
@ -330,7 +330,7 @@ func (n *Namespace) Delete() (err error) {
|
||||
}
|
||||
|
||||
// Delete tasks
|
||||
_, err = x.In("list_id", listIDs).Delete(&ListTask{})
|
||||
_, err = x.In("list_id", listIDs).Delete(&Task{})
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user