Skip to content

Commit 9d47ca0

Browse files
davenquinngithub-actions[bot]
authored andcommitted
Format code and sort imports
1 parent 9982092 commit 9d47ca0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

services/api-v3/api/routes/security.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ async def __call__(self, request: Request) -> Optional[str]:
9999
responses={404: {"description": "Not found"}},
100100
)
101101

102+
102103
async def get_groups_from_header_token(
103104
header_token: Annotated[HTTPAuthorizationCredentials, Depends(http_bearer)]
104105
) -> int | None:
@@ -122,6 +123,7 @@ async def get_groups_from_header_token(
122123

123124
return token.group
124125

126+
125127
async def get_user(sub: str) -> schemas.User | None:
126128
"""Get an existing user"""
127129

0 commit comments

Comments
 (0)