aboutsummaryrefslogtreecommitdiff
path: root/example.ts
diff options
context:
space:
mode:
Diffstat (limited to 'example.ts')
-rw-r--r--example.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/example.ts b/example.ts
index 9364fe0..bf0dd6b 100644
--- a/example.ts
+++ b/example.ts
@@ -3,7 +3,7 @@
/*** UTILITY ------------------------------------------ ***/
-import { executeSchema, GraphQLHTTP, gql } from "./entry.ts";
+import { executeSchema, gql, GraphQLHTTP } from "./entry.ts";
const schema = executeSchema({
resolvers: {
@@ -16,7 +16,7 @@ const schema = executeSchema({
const handler = GraphQLHTTP({
graphiql: true,
- playgroundOptions: { version: "0.4.0" },
+ playgroundOptions: { title: "Your GraphQL Server" },
schema
});