fix : bug in request

This commit is contained in:
2026-04-15 16:41:35 +03:30
parent 36c01fe01c
commit 44114b2436
2 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ export class ResellerController {
// ============Create WithDraw Request =============
@ApiOperation({ summary: "Create Reseller/Agent withdraw request ==> reseller route" })
@ResellerRoute([ResellerType.agent])
@ResellerRoute([ResellerType.agent, ResellerType.reseller])
@Post('withdraw-request')
withdrawRequest(@UserDec("id") userId: string, @Body() dto: CreateWithdrawRequestDto) {
return this.resellerService.createWithdrawRequest(userId, dto.amount)