From 52b5c8beeed331e0f68b6d3fadce4ccf489ae090 Mon Sep 17 00:00:00 2001 From: Bai Date: Tue, 27 Dec 2022 17:56:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=A0=E9=99=A4=20AssetSerializer=20?= =?UTF-8?q?=E4=B8=AD=20enabled=5Finfo=20=E5=AD=97=E6=AE=B5=20(=E5=B7=B2?= =?UTF-8?q?=E6=94=BE=E5=88=B0=20AssetDetailSerializer=20=E4=B8=AD).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/assets/serializers/asset/common.py | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/assets/serializers/asset/common.py b/apps/assets/serializers/asset/common.py index b266669bd..e2a84fe5a 100644 --- a/apps/assets/serializers/asset/common.py +++ b/apps/assets/serializers/asset/common.py @@ -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