notifications-stats-todo
All checks were successful
Deploy on push / deploy (push) Successful in 8m16s

This commit is contained in:
2025-09-16 12:52:14 +03:00
parent 24a1f181b9
commit 634cec657c
4 changed files with 7 additions and 6 deletions

View File

@@ -385,7 +385,7 @@ def require_role(role: str) -> Callable:
if not info or not hasattr(info, "context"):
raise RBACError("GraphQL info context не найден")
user_roles, community_id = get_user_roles_from_context(info)
user_roles, _community_id = get_user_roles_from_context(info)
if role not in user_roles:
raise RBACError("Требуется роль в сообществе", role)