Explorar o código

routes/api/srcgraph: remove option field

unknwon %!s(int64=5) %!d(string=hai) anos
pai
achega
e688457820
Modificáronse 1 ficheiros con 3 adicións e 4 borrados
  1. 3 4
      routes/api/srcgraph/general_protocol.go

+ 3 - 4
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
 }