mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 18:07:35 -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()); |         $file_location = $this->unzipFile($import_file->getPathname()); | ||||||
| 
 | 
 | ||||||
|         if(Ninja::isHosted()) |         // if(Ninja::isHosted())
 | ||||||
|             CompanyImport::dispatch(auth()->user()->getCompany(), auth()->user(), $file_location, $request->except('files'))->onQueue('himem');  |         //     CompanyImport::dispatch(auth()->user()->getCompany(), auth()->user(), $file_location, $request->except('files'))->onQueue('himem'); 
 | ||||||
|         else |         // else
 | ||||||
|             CompanyImport::dispatch(auth()->user()->getCompany(), auth()->user(), $file_location, $request->except('files'));  |             CompanyImport::dispatch(auth()->user()->getCompany(), auth()->user(), $file_location, $request->except('files'));  | ||||||
| 
 | 
 | ||||||
|         return response()->json(['message' => 'Processing'], 200); |         return response()->json(['message' => 'Processing'], 200); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user