From f9776e60cfd7c9667d9e97a0a50c1807330164ca Mon Sep 17 00:00:00 2001 From: Abdalhamid Alhamad Date: Thu, 31 Jul 2025 14:11:53 +0300 Subject: [PATCH] fix: save transaction file --- src/card/services/transaction.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/card/services/transaction.service.ts b/src/card/services/transaction.service.ts index 4db3a80..17973a3 100644 --- a/src/card/services/transaction.service.ts +++ b/src/card/services/transaction.service.ts @@ -37,7 +37,7 @@ export class TransactionService { @Transactional() async createAccountTransaction(body: AccountTransactionWebhookRequest) { - const account = await this.accountService.getAccountByReferenceNumber(body.accountId); + const account = await this.accountService.getAccountByAccountNumber(body.accountId); const existingTransaction = await this.findExistingTransaction(body.transactionId, account.accountReference);