Skip to content

Commit

Permalink
Merge pull request #3 from ckimes89/patch-1
Browse files Browse the repository at this point in the history
Change variable names to reduce confusion
  • Loading branch information
leebyron committed Jul 2, 2015
2 parents b28614f + 5fb1133 commit c211cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/starWarsSchema.js
Expand Up @@ -206,7 +206,7 @@ var droidType = new GraphQLObjectType({
type: new GraphQLList(characterInterface),
description: 'The friends of the droid, or an empty list if they ' +
'have none.',
resolve: (human) => getFriends(human),
resolve: (droid) => getFriends(droid),
},
appearsIn: {
type: new GraphQLList(episodeEnum),
Expand Down

0 comments on commit c211cc8

Please sign in to comment.