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