zs 2 年之前
父節點
當前提交
4fd1d37f38
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
   }