diff --git a/src/lambda/graphql.js b/src/lambda/graphql.js index 6138ad5..ab40fec 100644 --- a/src/lambda/graphql.js +++ b/src/lambda/graphql.js @@ -2,13 +2,13 @@ const { ApolloServer, gql } = require("apollo-server-lambda"); const typeDefs = gql` type Query { - hello: String + newField: String } `; const resolvers = { Query: { - hello: (root, args, context) => { + newField: (root, args, context) => { return "Hello, world!"; } }
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: