kopia lustrzana https://github.com/bugout-dev/moonstream
Depends auth header check should be async
rodzic
47b76ec26d
commit
d3effd952c
|
@ -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]:
|
||||
"""
|
||||
|
|
Ładowanie…
Reference in New Issue