From 5bb88537147c3086ff2f858ef7f2e5933943b851 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sat, 13 Feb 2021 16:58:11 +0900 Subject: [PATCH] token refreshment --- app/Library/Esi/Esi.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Library/Esi/Esi.php b/app/Library/Esi/Esi.php index a363ca586..5c154de9c 100644 --- a/app/Library/Esi/Esi.php +++ b/app/Library/Esi/Esi.php @@ -158,6 +158,8 @@ class Esi { $esi = null; $config = config('esi'); + dd($token); + $tokenExpires = time() + $token->expires_in; if($token == null) {