From bb872e4294c42fa2cc389bcf16b58667b9042141 Mon Sep 17 00:00:00 2001 From: paulwer Date: Sun, 10 Dec 2023 16:10:36 +0100 Subject: [PATCH] fixes --- app/Jobs/Ninja/BankTransactionSync.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/Ninja/BankTransactionSync.php b/app/Jobs/Ninja/BankTransactionSync.php index 1a68e643a44b..af1fd5bcbce4 100644 --- a/app/Jobs/Ninja/BankTransactionSync.php +++ b/app/Jobs/Ninja/BankTransactionSync.php @@ -49,7 +49,7 @@ class BankTransactionSync implements ShouldQueue foreach (MultiDB::$dbs as $db) { MultiDB::setDB($db); - if (Ninja::isSelfHost()) { // @turbo124 @todo I migrated the schedule for the job within the kernel to execute on all platforms and use the same expression here to determine if yodlee can run or not. Please chek/verify + if (Ninja::isHosted()) { // @turbo124 @todo I migrated the schedule for the job within the kernel to execute on all platforms and use the same expression here to determine if yodlee can run or not. Please chek/verify nlog("syncing transactions - yodlee"); $a = Account::with('bank_integrations')->whereNotNull('bank_integration_yodlee_account_id')->cursor()->each(function ($account) {