mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
This commit is contained in:
parent
5fa4bf44d5
commit
09adbf1cc2
@ -329,7 +329,7 @@ class BankIntegrationController extends BaseController
|
||||
public function getTransactions(AdminBankIntegrationRequest $request)
|
||||
{
|
||||
/** @var \App\Models\Account $account */
|
||||
$account = auth()->user()->account();
|
||||
$account = auth()->user()->account;
|
||||
|
||||
if (Ninja::isHosted() && $account->isPaid() && $account->plan == 'enterprise') {
|
||||
$account->bank_integrations()->where('integration_type', BankIntegration::INTEGRATION_TYPE_YODLEE)->where('auto_sync', true)->cursor()->each(function ($bank_integration) use ($account) {
|
||||
|
@ -80,8 +80,6 @@ class BankTransactionSync implements ShouldQueue
|
||||
}
|
||||
private function processNordigen()
|
||||
{
|
||||
|
||||
|
||||
if (config("ninja.nordigen.secret_id") && config("ninja.nordigen.secret_key")) { // @turbo124 check condition, when to execute this should be placed here (isSelfHosted || isPro/isEnterprise)
|
||||
nlog("syncing transactions - nordigen");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user