wq hace 4 años
padre
commit
03ae93c7c0
Se han modificado 1 ficheros con 0 adiciones y 4 borrados
  1. 0 4
      app/service/urgencyService.js

+ 0 - 4
app/service/urgencyService.js

@@ -96,11 +96,7 @@ class UrgencyService extends Service {
 
   async urgencyFirst(data) {
     const { model } = this.ctx;
-    delete data.page;
-    delete data.rows;
-
     const total = await model.UrgencyModel.find(data).countDocuments();
-
     return {
       count: total
     };