mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for invokable class (#3123)
* Reset DB connection after a DB scan in the same request * Testing Gmail Oauth Email * fixes for invokable class * Fixes for test email
This commit is contained in:
parent
7d073a2313
commit
1d2ec4c4ad
@ -21,7 +21,7 @@ use Illuminate\Support\Facades\Mail;
|
||||
class GmailTransportConfig
|
||||
{
|
||||
|
||||
public function __invoke()
|
||||
public function test()
|
||||
{
|
||||
|
||||
// $transport = (new Swift_SmtpTransport('smtp.googlemail.com', 465, 'ssl'))
|
||||
|
@ -111,6 +111,6 @@ Route::group(['middleware' => ['api_db','api_secret_check','token_auth'], 'prefi
|
||||
Route::post('support/messages/send', 'Support\Messages\SendingController');
|
||||
});
|
||||
|
||||
Route::get('test_email', 'GmailTransportConfig');
|
||||
Route::get('test_email', '\App\Helpers\Mail\GmailTransportConfig@test');
|
||||
|
||||
Route::fallback('BaseController@notFound');
|
||||
|
Loading…
x
Reference in New Issue
Block a user