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) {