Skip to content

Commit

Permalink
feat: add validation pipe to batchWalletTransfer as well
Browse files Browse the repository at this point in the history
  • Loading branch information
yunchipang committed Dec 4, 2024
1 parent 3ac0069 commit d8bb927
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/wallet/wallet.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export class WalletController {

@Post('batch-transfer')
@UseInterceptors(CsvFileUploadInterceptor())
@UsePipes(new ValidationPipe({ transform: true }))
async batchTransfer(
@Body() batchTransferWalletDto: BatchTransferWalletDto,
@UploadedFile() file: Express.Multer.File,
Expand Down

0 comments on commit d8bb927

Please sign in to comment.