Skip to content

Commit e20117c

Browse files
authored
Merge pull request #69 from scon-io/patch-1
Fix field-selection.md
2 parents f335281 + dcf81cf commit e20117c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/field-selection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ DataFetcher smartUserDF = new DataFetcher() {
3939
String userId = env.getArgument("userId");
4040

4141
DataFetchingFieldSelectionSet selectionSet = env.getSelectionSet();
42-
if (selectionSet.contains("user/*")) {
42+
if (selectionSet.contains("friends/*")) {
4343
return getUserAndTheirFriends(userId);
4444
} else {
4545
return getUser(userId);

0 commit comments

Comments
 (0)