diff --git a/src/transaction/transaction.service.ts b/src/transaction/transaction.service.ts index 8ce0479..610afba 100644 --- a/src/transaction/transaction.service.ts +++ b/src/transaction/transaction.service.ts @@ -446,23 +446,23 @@ export class TransactionService { const transactionData = await this.findApprovalDepositReturn(id); const coaSenderWallet = await this.coaService.findByUser( - transactionData.user_destination, + transactionData.user, coaType.WALLET, ); const coaAP = await this.coaService.findByUserWithRelated( - transactionData.user_destination, + transactionData.user, userData.userId, coaType.ACCOUNT_PAYABLE, ); const coaReceiverWallet = await this.coaService.findByUser( - transactionData.user_destination, + transactionData.user, coaType.WALLET, ); const coaAR = await this.coaService.findByUserWithRelated( - transactionData.user_destination, + transactionData.user, userData.userId, coaType.ACCOUNT_RECEIVABLE, );