diff --git a/back/main.py b/back/main.py index 801a0d7..2a0eac4 100644 --- a/back/main.py +++ b/back/main.py @@ -165,7 +165,7 @@ async def login_for_access_token( access_token = create_access_token( data={"user_id": user.id}, expires_delta=access_token_expires ) - return {"access_token": access_token} + return access_token @app.get("/api/users/me/", response_model=User)