wq пре 4 година
родитељ
комит
ec56bb04d4
1 измењених фајлова са 1 додато и 1 уклоњено
  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) {