diff --git a/pkg/models/list.go b/pkg/models/list.go index 5e4b8a1a8..89877f938 100644 --- a/pkg/models/list.go +++ b/pkg/models/list.go @@ -228,10 +228,8 @@ func getRawListsForUser(search string, u *User, page int, perPage int) (lists [] // AddListDetails adds owner user objects and list tasks to all lists in the slice func AddListDetails(lists []*List) (err error) { - var listIDs []int64 var ownerIDs []int64 for _, l := range lists { - listIDs = append(listIDs, l.ID) ownerIDs = append(ownerIDs, l.OwnerID) }