fix: 删除 AssetSerializer 中 enabled_info 字段 (已放到 AssetDetailSerializer 中).

pull/9248/head
Bai 2 years ago
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…
Cancel
Save