Skip to content

Commit 6c0453a

Browse files
LuluBeatsonSamMorrowDrums
authored andcommitted
omit site_admin from get_me output
1 parent 08a49b0 commit 6c0453a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/github/context_tools.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ func GetMe(getClient GetClientFn, t translations.TranslationHelperFunc) (mcp.Too
3838
), nil
3939
}
4040

41+
// Set nil to omit from output
42+
user.SiteAdmin = nil
43+
4144
return MarshalledTextResult(user), nil
4245
})
4346

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy