Corrected arguments in the mutate documentation.

This commit is contained in:
Billy Barbaro 2016-01-08 18:28:43 -05:00
parent 9308e6db12
commit 14b9257ef6

View File

@ -22,7 +22,7 @@ class CreatePerson(graphene.Mutation):
person = graphene.Field('Person')
@classmethod
def mutate(cls, args, info):
def mutate(cls, instance, args, info):
person = Person(name=args.get('name'))
ok = True
return CreatePerson(person=person, ok=ok)