Browse Source

fix: get_groups pagination call was not used #537

pull/541/head
Samiul Sk 7 months ago
parent
commit
cb55943ea9
  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