From 7e48e0a9bebed113246e7883164c5d87eb936afb Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Wed, 5 Feb 2020 23:42:49 +0100 Subject: upgrade to gqlgen master, waiting for a release --- commands/webui.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands') diff --git a/commands/webui.go b/commands/webui.go index 2e1a1bc0..5d3d4b4a 100644 --- a/commands/webui.go +++ b/commands/webui.go @@ -12,7 +12,7 @@ import ( "os/signal" "time" - "github.com/99designs/gqlgen/handler" + "github.com/99designs/gqlgen/graphql/playground" "github.com/gorilla/mux" "github.com/phayes/freeport" "github.com/skratchdot/open-golang/open" @@ -57,7 +57,7 @@ func runWebUI(cmd *cobra.Command, args []string) error { } // Routes - router.Path("/playground").Handler(handler.Playground("git-bug", "/graphql")) + router.Path("/playground").Handler(playground.Handler("git-bug", "/graphql")) router.Path("/graphql").Handler(graphqlHandler) router.Path("/gitfile/{hash}").Handler(newGitFileHandler(repo)) router.Path("/upload").Methods("POST").Handler(newGitUploadFileHandler(repo)) -- cgit