1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Merge pull request #5973 from turbo124/v5-develop

Debugging Company Import
This commit is contained in:
David Bomba 2021-06-09 13:18:14 +10:00 committed by GitHub
commit fb70fff7ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}