From cbe0483b46d8296b17162ce73c523f9261e59dbc Mon Sep 17 00:00:00 2001 From: Bai Date: Fri, 20 Aug 2021 11:24:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B5=84=E4=BA=A7mini=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E8=BF=94=E5=9B=9Eplatform=E3=80=81protocols?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/assets/serializers/asset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/assets/serializers/asset.py b/apps/assets/serializers/asset.py index aeef79152..f387df071 100644 --- a/apps/assets/serializers/asset.py +++ b/apps/assets/serializers/asset.py @@ -71,7 +71,7 @@ class AssetSerializer(BulkOrgResourceModelSerializer): """ class Meta: model = Asset - fields_mini = ['id', 'hostname', 'ip'] + fields_mini = ['id', 'hostname', 'ip', 'platform', 'protocols'] fields_small = fields_mini + [ 'protocol', 'port', 'protocols', 'is_active', 'public_ip', 'number', 'vendor', 'model', 'sn', 'cpu_model', 'cpu_count',