From 34e24d2a0a880ad051b3a555095309442cab8d38 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 9 Jun 2021 13:17:55 +1000 Subject: [PATCH] Debugging Company Import --- app/Jobs/Util/Import.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Jobs/Util/Import.php b/app/Jobs/Util/Import.php index d03578b8be..5b722eb194 100644 --- a/app/Jobs/Util/Import.php +++ b/app/Jobs/Util/Import.php @@ -1659,8 +1659,10 @@ class Import implements ShouldQueue private function processNinjaTokens(array $data) { + nlog("attempting to process Ninja Tokens"); + if(Ninja::isHosted()) - \Modules\Admin\Jobs\Account\NinjaUser::dispatch($data, $this->company); + \Modules\Admin\Jobs\Account\NinjaUser::dispatchNow($data, $this->company); }