mirror of https://github.com/jumpserver/jumpserver
parent
c0de27ff7a
commit
e1278360af
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue