diff --git a/app/Console/Commands/sendmail.php b/app/Console/Commands/sendmail.php index d8dd97b84..4b2a31714 100644 --- a/app/Console/Commands/sendmail.php +++ b/app/Console/Commands/sendmail.php @@ -74,7 +74,7 @@ class SendMail extends Command $authentication = new EsiAuthentication([ 'client_id' => $config['client_id'], 'secret' => $config['secret'], - 'refresh_token' => $token->refresh_token, + 'refresh_token' => $token[0]->refresh_token, ]); $esi = new Eseye($authentication);