From 0b737d9dc854bb638531d2e4683ac2eb9b5c2d61 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sun, 30 Dec 2018 02:46:48 -0600 Subject: [PATCH] admincontroller --- app/Console/Commands/sendmail.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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