Skip to content

Commit

Permalink
Merge pull request #4846 from walkccc-Fork/patch-1
Browse files Browse the repository at this point in the history
Update graphql-tools.md (add missing space)
  • Loading branch information
Stephen Barlow committed Mar 2, 2021
2 parents 6ba3c25 + 60762be commit 195c9f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/api/graphql-tools.md
Expand Up @@ -118,7 +118,7 @@ const { addResolveFunctionsToSchema } = require('apollo-server');

const resolvers = {
RootQuery: {
author(obj, { name }, context){
author(obj, { name }, context) {
console.log("RootQuery called with context " +
context + " to find " + name);
return Author.find({ name });
Expand Down

0 comments on commit 195c9f6

Please sign in to comment.