aboutsummaryrefslogtreecommitdiffstats
path: root/backend/routes/auth/authorize.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/routes/auth/authorize.py')
-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")