wq 4 năm trước cách đây
mục cha
commit
ec56bb04d4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/service/searchauto.js

+ 1 - 1
app/service/searchauto.js

@@ -105,7 +105,7 @@ class SearchautoService extends CrudService {
       _sort.mongey_min_rate = 1;
     }
     const total = await this.tmodel.count(match);
-    const res = await this.tmodel.find(match).sort(_sort).limit(Number(limit))
+    const res = await this.tmodel.find(match,{video:0}).sort(_sort).limit(Number(limit))
       .skip(Number(skip));
     const result = [];
     for (const elm of res) {