mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-08-25 13:49:40 +00:00
fix: save transaction file
This commit is contained in:
@ -37,7 +37,7 @@ export class TransactionService {
|
|||||||
|
|
||||||
@Transactional()
|
@Transactional()
|
||||||
async createAccountTransaction(body: AccountTransactionWebhookRequest) {
|
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);
|
const existingTransaction = await this.findExistingTransaction(body.transactionId, account.accountReference);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user