From 2dac1759d99164ea6c20b60207890618ddb0a695 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 25 Jan 2025 01:24:55 +0800 Subject: [PATCH] :rewind: Remove the profile field on userinfo --- pkg/internal/http/api/accounts_api.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/internal/http/api/accounts_api.go b/pkg/internal/http/api/accounts_api.go index b547c59..f3347e1 100644 --- a/pkg/internal/http/api/accounts_api.go +++ b/pkg/internal/http/api/accounts_api.go @@ -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()