From f312f3189dccfeedc28468f8a44c5d8dedab24db Mon Sep 17 00:00:00 2001 From: Youngjin Jo Date: Thu, 26 Sep 2024 15:38:26 +0900 Subject: [PATCH] fix: modify params code when workspace_id is None Signed-off-by: Youngjin Jo --- src/spaceone/identity/service/workspace_group_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spaceone/identity/service/workspace_group_service.py b/src/spaceone/identity/service/workspace_group_service.py index 8a0b5e5..0ecb8ac 100644 --- a/src/spaceone/identity/service/workspace_group_service.py +++ b/src/spaceone/identity/service/workspace_group_service.py @@ -205,7 +205,7 @@ def add_users( params.users = old_users_in_workspace_group + new_users_in_workspace_group workspace_group_vo = self.workspace_group_mgr.update_workspace_group_by_vo( - params.dict(exclude_unset=True), workspace_group_vo + params.dict(exclude_unset=False), workspace_group_vo ) workspace_group_info = self.add_user_name_and_state_to_users(