fix : bug in request
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user