Skip to content

Commit 4380fa1

Browse files
author
Kevin Lacker
authored
Fix typo
graphql#86 fixed a typo but no CLA so I figured I'd just make a separate PR
1 parent e2dae3f commit 4380fa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/graphql-js/Guides-ConstructingTypes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ var queryType = new graphql.GraphQLObjectType({
9595
id: { type: graphql.GraphQLString }
9696
},
9797
resolve: function (_, {id}) {
98-
return fakeDatabase[args.id];
98+
return fakeDatabase[id];
9999
}
100100
}
101101
}

0 commit comments

Comments
 (0)