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