mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 08:21:34 +02:00
Handle unavailable properties in Yodlee response
This commit is contained in:
parent
c6e249bb67
commit
fdc67cd5fb
@ -151,7 +151,7 @@ class IncomeTransformer implements BankRevenueInterface
|
||||
'category_type' => $transaction->categoryType,
|
||||
'date' => $transaction->date,
|
||||
'bank_account_id' => $transaction->accountId,
|
||||
'description' => $transaction->description->original,
|
||||
'description' => $transaction?->description?->original ?? '',
|
||||
'base_type' => property_exists($transaction, 'baseType') ? $transaction->baseType : $this->calculateBaseType($transaction),
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user