From 11d583bd9201ebcd84f0df42188f88529f70b7af Mon Sep 17 00:00:00 2001 From: dettlaff Date: Fri, 29 Nov 2024 19:37:31 +0400 Subject: [PATCH] fix: name of function --- 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 0918a63..ba51a33 100644 --- a/selfprivacy_api/repositories/users/kanidm_user_repository.py +++ b/selfprivacy_api/repositories/users/kanidm_user_repository.py @@ -178,7 +178,7 @@ class KanidmUserRepository(AbstractUserRepository): for user in users_data: attrs = user.get("attrs", {}) - origin = KanidmUserRepository._check_user_origin( + origin = KanidmUserRepository._check_user_origin_by_memberof( memberof=attrs.get("memberof", []) ) if exclude_primary and origin == UserDataUserOrigin.PRIMARY: