We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 894b181 commit 4710268Copy full SHA for 4710268
src/webapp/main.py
@@ -116,7 +116,7 @@ async def access_token_from_api_key(
116
minutes=int(cast(str, env_vars["ACCESS_TOKEN_EXPIRE_MINUTES"]))
117
)
118
access_token = create_access_token(
119
- data={"sub": user.email}, # type: ignore
+ data={"sub": user.email}, # type: ignore
120
expires_delta=access_token_expires, # type: ignore
121
122
return Token(access_token=access_token, token_type="bearer")
0 commit comments