aboutsummaryrefslogtreecommitdiffstats
path: root/backend/routes/auth/authorize.py
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2025-08-08 23:27:53 +0100
committerGravatar Joe Banks <[email protected]>2025-08-08 23:27:53 +0100
commit9a77782ac0a3b77c75138d1dde5901c9f79a6503 (patch)
tree16c1393125937844ef62fa4ec1276101c92f22c9 /backend/routes/auth/authorize.py
parentAdd submission_precheck to public fields list (diff)
Run ruff on codeHEADmain
Diffstat (limited to '')
-rw-r--r--backend/routes/auth/authorize.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/routes/auth/authorize.py b/backend/routes/auth/authorize.py
index 7f18cb4..2f9e6e7 100644
--- a/backend/routes/auth/authorize.py
+++ b/backend/routes/auth/authorize.py
@@ -57,7 +57,7 @@ async def process_token(
# Legacy key, we should use exp and use JWT expiry as below it.
"expiry": token_expiry.isoformat(),
# Correct JWT expiry key:
- "exp": token_expiry
+ "exp": token_expiry,
}
token = jwt.encode(data, SECRET_KEY, algorithm="HS256")