1
0

Exlicitly get the pseudonamespace with all shared lists (#32)

This commit is contained in:
konrad
2018-12-04 10:16:42 +00:00
committed by Gitea
parent f1fca3346b
commit 0c1d786ade
7 changed files with 55 additions and 16 deletions

View File

@ -45,7 +45,7 @@ func (n *Namespace) Delete() (err error) {
}
// Delete all lists with their tasks
lists, err := GetListsByNamespaceID(n.ID)
lists, err := GetListsByNamespaceID(n.ID, &User{})
var listIDs []int64
// We need to do that for here because we need the list ids to delete two times:
// 1) to delete the lists itself