Browse Source

perf: 修改 asset api

pull/9248/head
ibuler 2 years ago
parent
commit
da61b4e201
  1. 2
      apps/assets/api/asset/asset.py

2
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 = (

Loading…
Cancel
Save