Skip to content

Commit

Permalink
Merge pull request #393 from yjinjo/master
Browse files Browse the repository at this point in the history
Change to SON object from a dict type when role type is a USER type
  • Loading branch information
yjinjo authored Oct 7, 2024
2 parents aa2ea38 + 66e2b69 commit 565d363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spaceone/identity/service/workspace_group_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ def update_user_info(
user_id = user.get("user_id", "")
else:
user_id = getattr(user, "user_id", "") or ""
user = user.to_mongo().to_dict()
user = user.to_mongo()

user_info = user_info_dict.get(user_id, {})

Expand Down

0 comments on commit 565d363

Please sign in to comment.