updated moon mailer to record mail sent when it's sent to eve api

This commit is contained in:
2020-01-31 20:21:43 -06:00
parent 026f9b6a1d
commit 8ea488209c

View File

@@ -77,7 +77,7 @@ class ProcessSendEveMailJob implements ShouldQueue
$config = config('esi');
//Retrieve the token for main character to send mails from
$token = EsiToken::where(['character_id'=> $config['primary']])->first();
$token = EsiToken::where(['character_id'=> $this->sender])->first();
//Create the ESI authentication container
$esi = $esiHelper->SetupEsiAuthentication($token);