Skip to content
Snippets Groups Projects
Commit 75b18bad authored by Luka's avatar Luka
Browse files

Rename app_role_id to role_id

parent 0ef90ecc
No related branches found
No related tags found
1 merge request!55Resolve "Merge dashboard and dashboard-backend repos"
......@@ -65,6 +65,6 @@ class UserService:
@staticmethod
def __insertAppRoleToUser(userId, userRes):
app_role = AppRole.query.filter_by(user_id=userId).first()
userRes["traits"]["app_role_id"] = app_role.role_id if app_role else None
userRes["traits"]["role_id"] = app_role.role_id if app_role else None
return userRes
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