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

Commit27d0c95

Browse files
Fix import for content filter initialization
Co-authored-by: SamMorrowDrums <4811358+SamMorrowDrums@users.noreply.github.com>
1 parent3704756 commit27d0c95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎internal/ghmcp/server.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ func NewMCPServer(cfg MCPServerConfig) (*server.MCPServer, error) {
120120

121121
// Initialize the content filter if a trusted repo is specified
122122
ifcfg.TrustedRepo!="" {
123-
ctx,err:=InitContentFilter(ctx,cfg.TrustedRepo,getGQLClient)
123+
varerrerror
124+
ctx,err=github.InitContentFilter(ctx,cfg.TrustedRepo,getGQLClient)
124125
iferr!=nil {
125126
returnnil,fmt.Errorf("failed to initialize content filter: %w",err)
126127
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp