Skip to content

Commit

Permalink
style: Removed extra spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-pisman committed Dec 8, 2023
1 parent 66b2835 commit 1531b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unipoll_api/utils/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def convert_string_to_permission(resource_type: str, string: str):

async def check_permissions(resource, required_permissions: str | list[str] | None = None, permission_check=True):
if permission_check and required_permissions:
account = unipoll_api.AccountManager.active_user.get() # Get the active user
account = unipoll_api.AccountManager.active_user.get() # Get the active user

from unipoll_api.dependencies import get_member
member = await get_member(account, resource)
Expand Down

0 comments on commit 1531b13

Please sign in to comment.