feat(assets): 管理用户的资产列表增加 options 方法

pull/4968/head
xinwen 2020-11-09 18:53:24 +08:00 committed by Jiangjie.Bai
parent 987f840431
commit 179cb7531c
1 changed files with 0 additions and 1 deletions

View File

@ -94,7 +94,6 @@ class AdminUserAssetsListView(generics.ListAPIView):
permission_classes = (IsOrgAdmin,)
serializer_class = serializers.AssetSimpleSerializer
filter_fields = ("hostname", "ip")
http_method_names = ['get']
search_fields = filter_fields
def get_object(self):