wq %!s(int64=4) %!d(string=hai) anos
pai
achega
ec56bb04d4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {