From f3d2de51f7f717c70731b7cb0423e7d0ad7ba345 Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Wed, 17 Apr 2024 10:40:11 +0700 Subject: [PATCH] fixparth --- src/controllers/StrategyController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/StrategyController.ts b/src/controllers/StrategyController.ts index 858d8fe..e1715f4 100644 --- a/src/controllers/StrategyController.ts +++ b/src/controllers/StrategyController.ts @@ -169,7 +169,7 @@ export class StrategyController extends Controller { return new HttpSuccess(strategyChild.id); } - @Patch("{levelnode}/{idnode}") + @Patch() public async editStrategyChild1( @Request() request: { user: Record }, @Body() @@ -247,7 +247,7 @@ export class StrategyController extends Controller { return new HttpSuccess(); } - @Delete("{levelnode}/{idnode}") + @Delete() public async deleteStrategyChild( @Request() request: { user: Record }, @Body()