Skip to content
Snippets Groups Projects
Commit 5088b475 authored by Marcelo Schmidt's avatar Marcelo Schmidt
Browse files

Fixed typo

parent 34548cd3
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,6 @@ RocketChat.authz.removeUserFromRoles = (userId, roleNames, scope) ->
unless _.isEmpty(invalidRoleNames)
throw new Meteor.Error 'invalid-role'
RocketChat.models.Roles.removeUserRoles(userIds, roleNames, scope)
RocketChat.models.Roles.removeUserRoles(userId, roleNames, scope)
return true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment