Skip to content

Commit 2a962e2

Browse files
jesseschalkenleebyron
authored andcommitted
Fix string used as value for Episode enum (graphql#427)
1 parent 81f998b commit 2a962e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/learn/Learn-Queries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ To learn more about the syntax for these variable definitions, it's useful to le
197197
Default values can also be assigned to the variables in the query by adding the default value after the type declaration.
198198

199199
```graphql
200-
query HeroNameAndFriends($episode: Episode = "JEDI") {
200+
query HeroNameAndFriends($episode: Episode = JEDI) {
201201
hero(episode: $episode) {
202202
name
203203
friends {

0 commit comments

Comments
 (0)