diff --git a/areas/users/user_service.py b/areas/users/user_service.py index c9c0cc2..8e1dd5a 100644 --- a/areas/users/user_service.py +++ b/areas/users/user_service.py @@ -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