From 1a009c6d4d474cbdb2a697646b9e0199b0d76eb7 Mon Sep 17 00:00:00 2001 From: hoishin Date: Wed, 2 May 2018 23:28:27 +0900 Subject: [PATCH] fix graphiql docs for hapi --- docs/source/graphiql.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/graphiql.md b/docs/source/graphiql.md index 82a4ef11..98d740cf 100644 --- a/docs/source/graphiql.md +++ b/docs/source/graphiql.md @@ -63,7 +63,7 @@ If you are using Hapi, GraphiQL can be configured as follows: import { graphiqlHapi } from 'apollo-server-hapi'; server.register({ - register: graphiqlHapi, + plugin: graphiqlHapi, options: { path: '/graphiql', graphiqlOptions: {