Skip to content

Commit

Permalink
Fix to delete role/switching off role
Browse files Browse the repository at this point in the history
  • Loading branch information
donker committed May 2, 2017
1 parent 3fec3e7 commit 8a62076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Connect.UserAccess/Services/UserAccessController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public HttpResponseMessage UserRole(SetUserRoleDTO data)
}
else
{
UserRepository.Instance.DeleteUserRole(data.userId, data.userId);
UserRepository.Instance.DeleteUserRole(data.userId, data.roleId);
}
return Request.CreateResponse(HttpStatusCode.OK, UserRepository.Instance.GetRoles(PortalId, data.userId, data.roleGroupId));
}
Expand Down

0 comments on commit 8a62076

Please sign in to comment.