Skip to content

Commit 5c3306e

Browse files
committed
Return empty errors when successful
1 parent 000ef6c commit 5c3306e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene_django/rest_framework/mutation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,4 @@ def mutate(cls, instance, args, request, info):
126126
def perform_mutate(cls, serializer, info):
127127
obj = serializer.save()
128128

129-
return cls(**obj)
129+
return cls(errors=[], **obj)

0 commit comments

Comments
 (0)