Move this bit in there too.
This commit is contained in:
parent
4397b7afc8
commit
21cf956a26
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue