From 427338e03fce56682132da2c341f0ab9f9250927 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sun, 30 Dec 2018 00:08:06 -0600 Subject: [PATCH] sendmail --- app/Library/Esi/Mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Library/Esi/Mail.php b/app/Library/Esi/Mail.php index c944582cc..d613f38b8 100644 --- a/app/Library/Esi/Mail.php +++ b/app/Library/Esi/Mail.php @@ -23,7 +23,7 @@ class Mail { $authentication = new EsiAuthentication([ 'client_id' => $config['client_id'], 'secret' => $config['secret'], - 'refresh_token' => $token[0]->refresh_token, + 'refresh_token' => $token->refresh_token, ]); $esi = new Eseye($authentication); try {