add: filter ub deoisut return

This commit is contained in:
ilham 2022-01-05 13:57:03 +07:00
parent f3d988de7a
commit 928e7a51ae

View File

@ -235,9 +235,9 @@ export class TransactionController {
const data = await this.transactionService.getAllDepositReturnToUser( const data = await this.transactionService.getAllDepositReturnToUser(
req.user.userId, req.user.userId,
page, page,
sender, sender == 'null' ? null : sender,
startDate, startDate == 'null' ? null : startDate,
endDate, endDate == 'null' ? null : endDate,
pageSize, pageSize,
); );