diff --git a/gql.go b/gql.go index 683726c..0fff0be 100644 --- a/gql.go +++ b/gql.go @@ -181,7 +181,7 @@ func ExtractID(p graphql.ResolveParams, name string) (NodeID, error) { return id, nil } -func GraphiQLHandler() func(http.ResponseWriter, *http.Request) { +func GraphiQLHandler(auth_token string) func(http.ResponseWriter, *http.Request) { return func(w http.ResponseWriter, r * http.Request) { graphiql_string := fmt.Sprintf(`