zs hace 2 años
padre
commit
4fd1d37f38
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
   }