Browse Source

fix: get_groups pagination call was not used #537 (#541)

pull/543/head v3.9.2
Samiul Sk 9 months ago
committed by GitHub
parent
commit
26ff4f2841
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      src/keycloak/keycloak_admin.py

3
src/keycloak/keycloak_admin.py

@ -1287,7 +1287,8 @@ class KeycloakAdmin:
if "first" in query or "max" in query: if "first" in query or "max" in query:
groups = self.__fetch_paginated(url, query) groups = self.__fetch_paginated(url, query)
groups = self.__fetch_all(url, query)
else:
groups = self.__fetch_all(url, query)
# For version +23.0.0 # For version +23.0.0
for group in groups: for group in groups:

Loading…
Cancel
Save