renaming stuff, admin area
This commit is contained in:
parent
f64dfe45c9
commit
1922c8423e
16 changed files with 109 additions and 21 deletions
|
|
@ -24,7 +24,7 @@ class AuthentikApi: # TODO: check if can be replaced with apispec generated api?
|
|||
res = requests.get(f"{AUTHENTIK_BASEURL}{url}", headers={
|
||||
"Authorization": f"Bearer {AuthentikApi.__token()}"})
|
||||
AuthentikApi.__handleError(res)
|
||||
if (res.json()["pagination"]):
|
||||
if ("pagination" in res.json()):
|
||||
return AuthentikApi.__paginate(res)
|
||||
return res.json()
|
||||
except AuthentikError as err:
|
||||
|
|
|
|||
Reference in a new issue