From a3d22ab1798aea0cd1e75e59eb9f3af728e8d0aa Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sat, 13 Feb 2021 16:58:54 +0900 Subject: [PATCH] token refreshment --- app/Library/Esi/Esi.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Library/Esi/Esi.php b/app/Library/Esi/Esi.php index 5c154de9c..a83fd18f4 100644 --- a/app/Library/Esi/Esi.php +++ b/app/Library/Esi/Esi.php @@ -136,6 +136,8 @@ class Esi { $newToken->inserted_at = time(); $newToken->expires_in = $body->expires_in; + dd($newToken); + //Return the new token model return $newToken; @@ -158,8 +160,6 @@ class Esi { $esi = null; $config = config('esi'); - dd($token); - $tokenExpires = time() + $token->expires_in; if($token == null) {