Fix batch methods like AddUsersInBatch()

This commit is contained in:
Yang Luo
2023-10-08 19:33:28 +08:00
parent 23c4fd8183
commit d06d7c5c09
8 changed files with 21 additions and 16 deletions

View File

@ -68,5 +68,6 @@ func UploadRoles(owner string, path string) (bool, error) {
if len(newRoles) == 0 {
return false, nil
}
return AddRolesInBatch(newRoles), nil
}