diff --git a/routes/api/srcgraph/general_protocol.go b/routes/api/srcgraph/general_protocol.go index fc33469cd..a9932c391 100644 --- a/routes/api/srcgraph/general_protocol.go +++ b/routes/api/srcgraph/general_protocol.go @@ -19,10 +19,9 @@ import ( func NewHandler() http.HandlerFunc { h := adapter.NewHandler(externalService{}, adapter.Options{ - URL: setting.AppURL, - PathPrefix: "/-/srcgraph", - MaxPageLen: 100000, // Current version returns all repositories at once, does not matter - TokenAsUsername: true, + URL: setting.AppURL, + PathPrefix: "/-/srcgraph", + MaxPageLen: 100000, // Current version returns all repositories at once, does not matter }) return h.ServeHTTP }