mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-01-27 01:34:09 +03:00
Fix result from mutation
This commit is contained in:
parent
7888fa76fb
commit
000ef6c42e
|
@ -124,4 +124,6 @@ class SerializerMutation(six.with_metaclass(SerializerMutationMeta, Mutation)):
|
|||
|
||||
@classmethod
|
||||
def perform_mutate(cls, serializer, info):
|
||||
return serializer.save()
|
||||
obj = serializer.save()
|
||||
|
||||
return cls(**obj)
|
Loading…
Reference in New Issue
Block a user