zs 2 năm trước cách đây
mục cha
commit
4fd1d37f38
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
   }