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): """