1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

fix error in transaction-transformer

This commit is contained in:
paulwer 2024-01-20 11:22:58 +01:00
parent 58efa6dcad
commit 748dd2ab44
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,8 @@ class TransactionTransformer implements BankRevenueInterface
$transaction['creditorName'] : null);
return [
'transaction_id' => $transaction["transactionId"],
'transaction_id' => 0,
'nordigen_transaction_id' => $transaction["transactionId"],
'amount' => $amount,
'currency_id' => $this->convertCurrency($transaction["transactionAmount"]["currency"]),
'category_id' => null,

View File

@ -171,7 +171,6 @@ class ProcessBankTransactionsNordigen implements ShouldQueue
//this should be much faster to insert than using ::create()
\DB::table('bank_transactions')->insert(
array_merge($transaction, [
'transaction_id' => 0,
'company_id' => $this->company->id,
'user_id' => $user_id,
'bank_integration_id' => $this->bank_integration->id,