From 75b18bada8181be1302ed388b0dc82c4a09e045b Mon Sep 17 00:00:00 2001 From: Luka Radenovic Date: Fri, 15 Apr 2022 13:51:30 +0200 Subject: [PATCH] Rename app_role_id to role_id --- areas/users/user_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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