fix: account create bug (#9465)

Co-authored-by: feng <1304903146@qq.com>
pull/9466/head
fit2bot 2023-02-08 14:30:05 +08:00 committed by GitHub
parent 2a964bfa6c
commit 2c952c2877
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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