diff options
-rw-r--r-- | backend/routes/auth/authorize.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/backend/routes/auth/authorize.py b/backend/routes/auth/authorize.py index 2509109..975936a 100644 --- a/backend/routes/auth/authorize.py +++ b/backend/routes/auth/authorize.py @@ -55,6 +55,4 @@ class AuthorizeRoute(Route): token = jwt.encode(user_details, SECRET_KEY, algorithm="HS256") - return JSONResponse({ - "token": token.decode() - }) + return JSONResponse({"token": token}) |