We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3704756 commit 27d0c95Copy full SHA for 27d0c95
internal/ghmcp/server.go
@@ -120,7 +120,8 @@ func NewMCPServer(cfg MCPServerConfig) (*server.MCPServer, error) {
120
121
// Initialize the content filter if a trusted repo is specified
122
if cfg.TrustedRepo != "" {
123
- ctx, err := InitContentFilter(ctx, cfg.TrustedRepo, getGQLClient)
+ var err error
124
+ ctx, err = github.InitContentFilter(ctx, cfg.TrustedRepo, getGQLClient)
125
if err != nil {
126
return nil, fmt.Errorf("failed to initialize content filter: %w", err)
127
}
0 commit comments