Remove the profile field on userinfo

This commit is contained in:
LittleSheep 2025-01-25 01:24:55 +08:00
parent 5b516094a0
commit 2dac1759d9

View File

@ -75,7 +75,6 @@ func getUserinfo(c *fiber.Ctx) error {
resp["name"] = data.Name
resp["email"] = data.GetPrimaryEmail().Content
resp["preferred_username"] = data.Nick
resp["profile"] = data.Name
if data.Avatar != nil {
resp["picture"] = *data.GetAvatar()