Depends auth header check should be async

pull/931/head
kompotkot 2023-10-04 11:30:58 +00:00
rodzic 47b76ec26d
commit d3effd952c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -77,7 +77,7 @@ def bugout_auth(token: str) -> BugoutUser:
return user
def user_for_auth_header(
async def user_for_auth_header(
authorization: str = Header(None),
) -> Optional[BugoutUser]:
"""