⏪ Remove the profile field on userinfo
This commit is contained in:
parent
5b516094a0
commit
2dac1759d9
@ -75,7 +75,6 @@ func getUserinfo(c *fiber.Ctx) error {
|
|||||||
resp["name"] = data.Name
|
resp["name"] = data.Name
|
||||||
resp["email"] = data.GetPrimaryEmail().Content
|
resp["email"] = data.GetPrimaryEmail().Content
|
||||||
resp["preferred_username"] = data.Nick
|
resp["preferred_username"] = data.Nick
|
||||||
resp["profile"] = data.Name
|
|
||||||
|
|
||||||
if data.Avatar != nil {
|
if data.Avatar != nil {
|
||||||
resp["picture"] = *data.GetAvatar()
|
resp["picture"] = *data.GetAvatar()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user