mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-02-05 23:50:37 +00:00
fix: f str
This commit is contained in:
parent
a2643566b6
commit
9c87f28db1
|
@ -126,7 +126,7 @@ class KanidmAdminToken:
|
|||
@staticmethod
|
||||
def _is_token_valid(token: str) -> bool:
|
||||
response = requests.get(
|
||||
"{KANIDM_URL}/v1/person/root",
|
||||
f"{KANIDM_URL}/v1/person/root",
|
||||
headers={
|
||||
"Authorization": f"Bearer {token}",
|
||||
"Content-Type": "application/json",
|
||||
|
|
Loading…
Reference in a new issue