From 9a03761209ea64a2c6cffbec76cb8165fbec2a54 Mon Sep 17 00:00:00 2001 From: GODARD Patrice Date: Thu, 12 Dec 2024 14:15:48 +0100 Subject: [PATCH] replaced the usersInGroup attribute by userNames to fix issue #431w --- dohq_artifactory/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dohq_artifactory/admin.py b/dohq_artifactory/admin.py index a05602f..7d7f9d5 100644 --- a/dohq_artifactory/admin.py +++ b/dohq_artifactory/admin.py @@ -469,7 +469,7 @@ def _create_json(self): } if isinstance(self.users, list): - data_json.update({"usersInGroup": self.users}) + data_json.update({"userNames": self.users}) return data_json @@ -484,7 +484,7 @@ def _read_response(self, response): self.realm_attributes = response.get("realmAttributes") self.external = response.get("external") self.new_user_default = response.get("newUserDefault") - self.users = response.get("usersInGroup") + self.users = response.get("userNames") def delete(self): """