diff --git a/apps/third/views_d.py b/apps/third/views_d.py index 54f3b0d5..576bcd24 100644 --- a/apps/third/views_d.py +++ b/apps/third/views_d.py @@ -437,7 +437,7 @@ class TDeviceViewSet(ListModelMixin, UpdateModelMixin, DestroyModelMixin, Custom i['my_info'] = {} if i['sn'] in tds_dict: i['my_info'] = tds_dict[i['sn']] - return Response(res) + return Response(filtered_rows) @action(methods=['post'], detail=False, perms_map={'post': '*'}, serializer_class=Serializer, logging_methods=[])