mirror of https://github.com/jumpserver/jumpserver
fix: 删除 AssetSerializer 中 enabled_info 字段 (已放到 AssetDetailSerializer 中).
parent
ccc766df8d
commit
52b5c8beee
|
@ -68,7 +68,6 @@ class AssetSerializer(BulkOrgResourceSerializerMixin, WritableNestedModelSeriali
|
|||
labels = AssetLabelSerializer(many=True, required=False, label=_('Labels'))
|
||||
protocols = AssetProtocolsSerializer(many=True, required=False, label=_('Protocols'))
|
||||
accounts = AssetAccountSerializer(many=True, required=False, label=_('Account'))
|
||||
enabled_info = serializers.SerializerMethodField()
|
||||
|
||||
class Meta:
|
||||
model = Asset
|
||||
|
|
Loading…
Reference in New Issue