zs 2 gadi atpakaļ
vecāks
revīzija
4fd1d37f38
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/controller/analysis.controller.ts

+ 1 - 1
src/controller/analysis.controller.ts

@@ -65,7 +65,7 @@ export class AnalysisController extends BaseController {
   @Validate()
   @ApiResponse({ type: UVAO_analysis })
   async update(@Param('id') id: string, @Body() body: any) {
-    const result = await this.service.updateOne(id, body);
+    const result = await this.service.update(id, body);
     return result;
   }