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)