Ver Fonte

fix: wasted

xiongzhu há 1 ano atrás
pai
commit
c5d6270575
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/rcs-number/rcs-number.controller.ts

+ 1 - 1
src/rcs-number/rcs-number.controller.ts

@@ -48,7 +48,7 @@ export class RcsNumberController {
 
     @Post('/:id/wasted')
     async wasted(@Param('id') id: string) {
-        return await this.rcsNumberService.configured(Number(id))
+        return await this.rcsNumberService.wasted(Number(id))
     }
 
     @Put('/:id/stockFlag/:flag')