Browse Source

Bugfix get_group_members

pull/287/head
maxnoto 3 years ago
committed by GitHub
parent
commit
17b507427f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      keycloak/keycloak_admin.py

2
keycloak/keycloak_admin.py

@ -762,7 +762,7 @@ class KeycloakAdmin:
:return: Keycloak server response (UserRepresentation) :return: Keycloak server response (UserRepresentation)
""" """
params_path = {"realm-name": self.realm_name, "id": group_id} params_path = {"realm-name": self.realm_name, "id": group_id}
url = URL_ADMIN_USERS.format(**params_path)
url = URL_ADMIN_GROUP_MEMBERS.format(**params_path)
if "first" in query or "max" in query: if "first" in query or "max" in query:
return self.__fetch_paginated(url, query) return self.__fetch_paginated(url, query)

Loading…
Cancel
Save