fix: account create bug (#9465)

Co-authored-by: feng <1304903146@qq.com>
pull/9466/head
fit2bot 2 years ago committed by GitHub
parent 2a964bfa6c
commit 2c952c2877
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -47,7 +47,7 @@ class AccountSerializerCreateValidateMixin:
def create(self, validated_data):
push_now = validated_data.pop('push_now', None)
instance = super().create(validated_data, push_now)
instance = super().create(validated_data)
self.push_account(instance, push_now)
return instance

Loading…
Cancel
Save