From e68845782017ecc810225ab314e0ab5ffdbe22f6 Mon Sep 17 00:00:00 2001 From: unknwon Date: Thu, 1 Aug 2019 18:07:21 -0700 Subject: [PATCH] routes/api/srcgraph: remove option field --- routes/api/srcgraph/general_protocol.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 }