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