mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Remove dispatchNow used for testing
This commit is contained in:
parent
ff27f351c7
commit
68c2246e64
@ -115,7 +115,7 @@ class ImportController extends Controller {
|
||||
}
|
||||
}
|
||||
|
||||
CSVImport::dispatchNow( $data, auth()->user()->company() );
|
||||
CSVImport::dispatch( $data, auth()->user()->company() );
|
||||
|
||||
return response()->json( [ 'message' => ctrans( 'texts.import_started' ) ], 200 );
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ class CSVImport implements ShouldQueue {
|
||||
'company' => $this->company,
|
||||
];
|
||||
|
||||
MailRouter::dispatchNow( new ImportCompleted( $data ), $this->company, auth()->user() );
|
||||
MailRouter::dispatch( new ImportCompleted( $data ), $this->company, auth()->user() );
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user