diff --git a/gql.go b/gql.go index 86e8a94..46387d4 100644 --- a/gql.go +++ b/gql.go @@ -29,6 +29,7 @@ import ( "math/big" "encoding/pem" "github.com/google/uuid" + "slices" ) func AuthorizationHeader(node *Node) (string, error) { @@ -181,7 +182,7 @@ func ExtractID(p graphql.ResolveParams, name string) (NodeID, error) { return id, nil } -func GraphiQLHandler(auth_token string) func(http.ResponseWriter, *http.Request) { +func GraphiQLHandler() func(http.ResponseWriter, *http.Request) { return func(w http.ResponseWriter, r * http.Request) { graphiql_string := fmt.Sprintf(`