Refactor ListTask to Task (#92)
This commit is contained in:
parent
be14634e1e
commit
66cdd79666
26 changed files with 206 additions and 189 deletions
|
|
@ -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 a new issue