Skip to content

Commit

Permalink
Merge pull request #377 from yjinjo/master
Browse files Browse the repository at this point in the history
Modify code when workspace group users is None
  • Loading branch information
yjinjo authored Sep 30, 2024
2 parents b084b70 + cfb5c62 commit 7388eab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/spaceone/identity/service/workspace_group_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,8 @@ def add_user_name_and_state_to_users(
"state": user_vo.state,
}

if wg_users is None:
wg_users = []
users = []
for user in wg_users:
if isinstance(user, dict):
Expand Down

0 comments on commit 7388eab

Please sign in to comment.