Fix address null bug.

This commit is contained in:
Yang Luo
2021-08-27 23:43:43 +08:00
parent c6b2106c94
commit eefcfd8440
2 changed files with 4 additions and 3 deletions

View File

@ -293,6 +293,7 @@ func (c *ApiController) Login() {
Type: "normal-user",
DisplayName: userInfo.DisplayName,
Avatar: userInfo.AvatarUrl,
Address: []string{},
Email: userInfo.Email,
Score: score,
IsAdmin: false,