Move this bit in there too.

This commit is contained in:
Azareal 2018-12-06 22:16:09 +10:00
parent 4397b7afc8
commit 21cf956a26
1 changed files with 1 additions and 2 deletions

View File

@ -211,9 +211,8 @@ func (mus *DefaultUserStore) BulkGetMap(ids []int) (list map[int]*User, err erro
} }
if sidList != "" { if sidList != "" {
sidList = sidList[0 : len(sidList)-1] sidList = sidList[0 : len(sidList)-1]
err = errors.New("Unable to find the users with the following IDs: " + sidList)
} }
err = errors.New("Unable to find the users with the following IDs: " + sidList)
} }
return list, err return list, err