mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-02 18:24:35 -04: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 );
|
return response()->json( [ 'message' => ctrans( 'texts.import_started' ) ], 200 );
|
||||||
}
|
}
|
||||||
|
@ -126,7 +126,7 @@ class CSVImport implements ShouldQueue {
|
|||||||
'company' => $this->company,
|
'company' => $this->company,
|
||||||
];
|
];
|
||||||
|
|
||||||
MailRouter::dispatchNow( new ImportCompleted( $data ), $this->company, auth()->user() );
|
MailRouter::dispatch( new ImportCompleted( $data ), $this->company, auth()->user() );
|
||||||
}
|
}
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user