From da61b4e201c741f5f85470b3e29edd230dcbf86d Mon Sep 17 00:00:00 2001 From: ibuler Date: Tue, 27 Dec 2022 17:06:00 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BF=AE=E6=94=B9=20asset=20api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/assets/api/asset/asset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/assets/api/asset/asset.py b/apps/assets/api/asset/asset.py index 1394acbb7..9ba11a872 100644 --- a/apps/assets/api/asset/asset.py +++ b/apps/assets/api/asset/asset.py @@ -61,8 +61,8 @@ class AssetViewSet(SuggestionMixin, NodeFilterMixin, OrgBulkModelViewSet): serializer_classes = ( ("default", serializers.AssetSerializer), ("retrieve", serializers.AssetDetailSerializer), - ("suggestion", serializers.MiniAssetSerializer), ("platform", serializers.PlatformSerializer), + ("suggestion", serializers.MiniAssetSerializer), ("gateways", serializers.GatewaySerializer), ) rbac_perms = (