Skip to content

Commit c211cc8

Browse files
committed
Merge pull request #3 from ckimes89/patch-1
Change variable names to reduce confusion
2 parents b28614f + 5fb1133 commit c211cc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__tests__/starWarsSchema.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ var droidType = new GraphQLObjectType({
206206
type: new GraphQLList(characterInterface),
207207
description: 'The friends of the droid, or an empty list if they ' +
208208
'have none.',
209-
resolve: (human) => getFriends(human),
209+
resolve: (droid) => getFriends(droid),
210210
},
211211
appearsIn: {
212212
type: new GraphQLList(episodeEnum),

0 commit comments

Comments
 (0)