added stuff for late invoices.

updated all jobs to not include the wording Job in the file.
This commit is contained in:
2021-04-07 01:44:31 +09:00
parent bd8872a785
commit f06675dd2b
26 changed files with 157 additions and 765 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ use App\Models\Esi\EsiToken;
use App\Models\Esi\EsiScope;
//Jobs
use App\Jobs\Commands\Eve\ProcessSendEveMailJob;
use App\Jobs\Commands\Eve\SendEveMail;
//Seat Stuff
use Seat\Eseye\Cache\NullCache;
@@ -46,7 +46,7 @@ class Esi {
$subject = 'W4RP Services - Incorrect ESI Scope';
$body = "Please register on https://services.w4rp.space with the scope: " . $scope;
ProcessSendEveMailJob::dispatch($body, (int)$charId, 'character', $subject, $config['primary'])->onQueue('mail')->delay(Carbon::now()->addSeconds(5));
SendEveMail::dispatch($body, (int)$charId, 'character', $subject, $config['primary'])->onQueue('mail')->delay(Carbon::now()->addSeconds(5));
return false;
}