Skip to content

Commit 5fb1133

Browse files
author
ckimes89
committed
Change variable names to reduce confusion
1 parent a033219 commit 5fb1133

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)