fix: f str

This commit is contained in:
dettlaff 2024-12-12 02:10:54 +04:00
parent a2643566b6
commit 9c87f28db1

View file

@ -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",