From 31cb627db6ed869421a29230bd9a01792883526c Mon Sep 17 00:00:00 2001 From: dettlaff Date: Wed, 20 Nov 2024 17:07:42 +0400 Subject: [PATCH] fix: change old class name --- selfprivacy_api/repositories/users/kanidm_user_repository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfprivacy_api/repositories/users/kanidm_user_repository.py b/selfprivacy_api/repositories/users/kanidm_user_repository.py index f66f5fb..f907dac 100644 --- a/selfprivacy_api/repositories/users/kanidm_user_repository.py +++ b/selfprivacy_api/repositories/users/kanidm_user_repository.py @@ -108,7 +108,7 @@ class KanidmUserRepository(AbstractUserRepository): full_endpoint, json=data, headers={ - "Authorization": f"Bearer {KanidmPassword.get()}", + "Authorization": f"Bearer {KanidmAdminToken.get()}", "Content-Type": "application/json", }, timeout=0.8, # TODO: change timeout