Skip to content

Commit

Permalink
replaced the usersInGroup attribute by userNames to fix issue #431w
Browse files Browse the repository at this point in the history
  • Loading branch information
GODARD Patrice committed Dec 12, 2024
1 parent 42bb6f1 commit 0492c2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dohq_artifactory/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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):
"""
Expand Down

0 comments on commit 0492c2f

Please sign in to comment.