Skip to content

Commit ccf54c9

Browse files
committed
fix: formatting errors
1 parent 336c558 commit ccf54c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/webapp/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ async def access_token_from_api_key(
116116
minutes=int(cast(str, env_vars["ACCESS_TOKEN_EXPIRE_MINUTES"]))
117117
)
118118
access_token = create_access_token(
119-
data={"sub": user.email}, expires_delta=access_token_expires # type: ignore
119+
data={"sub": user.email},
120+
expires_delta=access_token_expires, # type: ignore
120121
)
121122
return Token(access_token=access_token, token_type="bearer")
122123

0 commit comments

Comments
 (0)