mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 10:11:40 -05:00
Spelling fix
This commit is contained in:
parent
c74482e7c5
commit
645dae3d7a
1 changed files with 3 additions and 3 deletions
|
@ -141,15 +141,15 @@ 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: () =>
|
||||
`Say hello to the new ApolloServer! A production ready GraphQL server with an incredible getting started experience.`
|
||||
announcement: () =>
|
||||
`Say hello to the new Apollo Server! A production ready GraphQL server with an incredible getting started experience.`
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue