clone saver and esi modifications

This commit is contained in:
2019-02-02 23:40:41 -06:00
parent 5d25c76d85
commit 2f2f8e5a29
2 changed files with 32 additions and 0 deletions
+11
View File
@@ -5,6 +5,7 @@ namespace App\Library\Esi;
use DB;
use App\Models\Esi\EsiScope;
use App\Jobs\SendEveMail;
use Seat\Eseye\Cache\NullCache;
use Seat\Eseye\Configuration;
@@ -34,6 +35,16 @@ class Esi {
}
}
$mail = new EveMail;
$mail->sender = 93738489;
$mail->subject = 'W4RP Services - Incorrect ESI Scope';
$mail->body = "Please register on https://services.w4rp.space with the scope: " . $scope;
$mail->recipient = (int)$charId;
$mail->recipient_type = 'character';
$mail->save();
SendEveMail::dispatch($mail)->delay(Carbon::now()->addSeconds(5));
return false;
}