Spelling fix

This commit is contained in:
Jesse Rosenberger 2018-05-03 16:46:30 -07:00 committed by Peggy Rayzis
parent c74482e7c5
commit 645dae3d7a

View file

@ -141,14 +141,14 @@ const { ApolloServer, gql } = require("apollo-server");
// Construct a schema, using GraphQL schema language
const typeDefs = gql`
type Query {
annoucement: String
announcement: String
}
`;
// Provide resolver functions for your schema fields
const resolvers = {
Query: {
annoucement: () =>
announcement: () =>
`Say hello to the new Apollo Server! A production ready GraphQL server with an incredible getting started experience.`
}
};