From 2c952c2877f6879390527549a240d2b7bcb827fa Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Wed, 8 Feb 2023 14:30:05 +0800 Subject: [PATCH] fix: account create bug (#9465) Co-authored-by: feng <1304903146@qq.com> --- apps/accounts/serializers/account/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/accounts/serializers/account/account.py b/apps/accounts/serializers/account/account.py index 97033eda9..3017b950c 100644 --- a/apps/accounts/serializers/account/account.py +++ b/apps/accounts/serializers/account/account.py @@ -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