Skip to content

Commit dab6080

Browse files
authored
Fixed typo in documentation (#1078)
Added missing kwargs to documentation
1 parent 558288a commit dab6080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/queries.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ Where "foo" is the name of the field declared in the ``Query`` object.
287287
class Query(graphene.ObjectType):
288288
foo = graphene.List(QuestionType)
289289
290-
def resolve_foo(root, info):
290+
def resolve_foo(root, info, **kwargs):
291291
id = kwargs.get("id")
292292
return Question.objects.get(id)
293293

0 commit comments

Comments
 (0)