Fix staticcheck
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2019-12-01 13:37:51 +01:00
parent 8144b3e468
commit 00355e6e81
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 0 additions and 2 deletions

View File

@ -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)
}