mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Minor fixes
This commit is contained in:
parent
707a77932f
commit
11f13cba0d
@ -66,9 +66,9 @@ class ImportJsonController extends BaseController
|
||||
|
||||
$file_location = $this->unzipFile($import_file->getPathname());
|
||||
|
||||
if(Ninja::isHosted())
|
||||
CompanyImport::dispatch(auth()->user()->getCompany(), auth()->user(), $file_location, $request->except('files'))->onQueue('himem');
|
||||
else
|
||||
// if(Ninja::isHosted())
|
||||
// CompanyImport::dispatch(auth()->user()->getCompany(), auth()->user(), $file_location, $request->except('files'))->onQueue('himem');
|
||||
// else
|
||||
CompanyImport::dispatch(auth()->user()->getCompany(), auth()->user(), $file_location, $request->except('files'));
|
||||
|
||||
return response()->json(['message' => 'Processing'], 200);
|
||||
|
Loading…
x
Reference in New Issue
Block a user