From 2346dcbc17705024359884285bd08cd618a2a67b Mon Sep 17 00:00:00 2001 From: Lekuru Date: Thu, 21 Dec 2023 22:54:45 +0100 Subject: [PATCH] Rename `get_permissions` to `get_player_permissions` --- database/repositories/groups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/repositories/groups.py b/database/repositories/groups.py index 8a93cd7..2d286aa 100644 --- a/database/repositories/groups.py +++ b/database/repositories/groups.py @@ -70,7 +70,7 @@ def fetch_user_groups( .all() @session_wrapper -def get_permissions( +def get_player_permissions( user_id: int, session: Session | None = None ) -> int: