mirror of https://github.com/jumpserver/jumpserver
parent
2a964bfa6c
commit
2c952c2877
|
@ -47,7 +47,7 @@ class AccountSerializerCreateValidateMixin:
|
||||||
|
|
||||||
def create(self, validated_data):
|
def create(self, validated_data):
|
||||||
push_now = validated_data.pop('push_now', None)
|
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)
|
self.push_account(instance, push_now)
|
||||||
return instance
|
return instance
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue