introduce graphql

This commit is contained in:
2026-05-19 00:24:45 +08:00
parent 78f15c80a1
commit 9c55cc675e
10 changed files with 203 additions and 11 deletions
+5 -5
View File
@@ -164,11 +164,11 @@ async def auth_callback(request: Request, code: str, state: str, background_task
"access_token": jwt_token,
"refresh_token": refresh_token,
"token_type": "bearer",
"user": {
"email": user.email,
"name": user.name,
"avatar": get_image_url(user.avatar),
}
# "user": {
# "email": user.email,
# "name": user.name,
# "avatar": get_image_url(user.avatar),
# }
}
@router.get("/me")