zs před 1 rokem
rodič
revize
4c8ad8fbdb
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/service/Upkeep.service.ts

+ 1 - 1
src/service/Upkeep.service.ts

@@ -21,7 +21,7 @@ export class UpkeepService extends BaseService<modelType> {
 
   async update(id, body) {
     if (body.status === '2')
-      await this.orderModel.updateOne({ _id: body.order_id }, { status: '9' });
+      await this.orderModel.updateOne({ _id: body.order_id }, { status: '10' });
     const result = await this.model.updateOne({ _id: id }, body);
     return result;
   }