From a106c86c3e40cd6970b867f5fb6862c473c81ab0 Mon Sep 17 00:00:00 2001 From: "raoha.rh" Date: Thu, 22 Aug 2024 18:13:13 +0800 Subject: [PATCH] fix: restore userinfo --- server/auth/get_user_info.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server/auth/get_user_info.py b/server/auth/get_user_info.py index 050a6379..11491fb9 100644 --- a/server/auth/get_user_info.py +++ b/server/auth/get_user_info.py @@ -25,6 +25,7 @@ async def getUserInfoByToken(token): "nickname": user_info.get("nickname"), "name": user_info.get("name"), "picture": user_info.get("picture"), + "avatar": user_info.get("picture"), "sub": user_info["sub"], "sid": secrets.token_urlsafe(32) }