Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6c0453a

Browse files
LuluBeatsonSamMorrowDrums
authored andcommitted
omit site_admin from get_me output
1 parent08a49b0 commit6c0453a

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
returnMarshalledTextResult(user),nil
4245
})
4346

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp