fix: 资产创建失败 (#11824)

Co-authored-by: feng <1304903146@qq.com>
pull/11826/head
fit2bot 2023-10-12 19:46:04 +08:00 committed by GitHub
parent c0de27ff7a
commit e1278360af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ class AssetSerializer(BulkOrgResourceModelSerializer, WritableNestedModelSeriali
return
if isinstance(self.initial_data, list):
return
accounts = self.initial_data.get('accounts', None)
accounts = self.initial_data.pop('accounts', None)
self._accounts = accounts
def _get_protocols_required_default(self):