updated hardcoded character with env variable

This commit is contained in:
2019-06-25 00:01:28 -05:00
parent 079169d8aa
commit 0f7e2d5bad
11 changed files with 46 additions and 14 deletions
+4 -1
View File
@@ -69,8 +69,11 @@ class SendEveMailJob implements ShouldQueue
*/
public function handle()
{
//Get the esi configuration
$config = config('esi');
//Retrieve the token for main character to send mails from
$token = EsiToken::where(['character_id'=> 93738489])->get();
$token = EsiToken::where(['character_id'=> $config['primary']])->get();
//Create the ESI authentication container
$config = config('esi');