diff --git a/app/Console/Commands/sendmail.php b/app/Console/Commands/sendmail.php index 731f49a23..c1cac5043 100644 --- a/app/Console/Commands/sendmail.php +++ b/app/Console/Commands/sendmail.php @@ -63,8 +63,8 @@ class SendMail extends Command $task->SetStartStatus(); //Retrieve the token for main character to send mails from - $refresh = EsiToken::where(['character_id' => 93738489])->get(['refresh_token']); - var_dump($refresh); + $refresh = EsiToken::where(['character_id' => 93738489])->get(); + var_dump($refresh->refresh_token); //Set the date $date = Carbon::now()->subMonth(); //Set the mail helper variable