This commit is contained in:
AdisakKanthawilang 2024-04-17 10:40:11 +07:00
parent bee26f07a9
commit f3d2de51f7

View file

@ -169,7 +169,7 @@ export class StrategyController extends Controller {
return new HttpSuccess(strategyChild.id); return new HttpSuccess(strategyChild.id);
} }
@Patch("{levelnode}/{idnode}") @Patch()
public async editStrategyChild1( public async editStrategyChild1(
@Request() request: { user: Record<string, any> }, @Request() request: { user: Record<string, any> },
@Body() @Body()
@ -247,7 +247,7 @@ export class StrategyController extends Controller {
return new HttpSuccess(); return new HttpSuccess();
} }
@Delete("{levelnode}/{idnode}") @Delete()
public async deleteStrategyChild( public async deleteStrategyChild(
@Request() request: { user: Record<string, any> }, @Request() request: { user: Record<string, any> },
@Body() @Body()