Skip to content

Commit 5ff6080

Browse files
committed
Fix Lint
1 parent 7404871 commit 5ff6080

File tree

1 file changed

+2
-2
lines changed
  • backend/python/app/dependencies

1 file changed

+2
-2
lines changed

backend/python/app/dependencies/auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ async def check_role(
5858
session: AsyncSession = Depends(get_session),
5959
) -> bool:
6060
try:
61-
#TODO: Fix Authorization and Role Based Management in future commit.
61+
# TODO: Fix Authorization and Role Based Management in future commit.
6262

6363
# authorized = await auth_service.is_authorized_by_role(
6464
# session, access_token, roles
@@ -68,7 +68,7 @@ async def check_role(
6868
# status_code=status.HTTP_401_UNAUTHORIZED,
6969
# detail="You are not authorized to make this request.",
7070
# )
71-
71+
7272
return True
7373
except Exception as e:
7474
raise HTTPException(

0 commit comments

Comments
 (0)