From c35645df421d45e9c7d67836bc554ac7b935ff72 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sun, 14 Feb 2021 00:04:20 +0900 Subject: [PATCH] test data --- app/Library/Esi/Esi.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Library/Esi/Esi.php b/app/Library/Esi/Esi.php index 851ec04bc..894df7a66 100644 --- a/app/Library/Esi/Esi.php +++ b/app/Library/Esi/Esi.php @@ -150,11 +150,13 @@ class Esi { $esi = null; $config = config('esi'); - $tokenExpires = time() + $token->expires_in; + dd($token); if($token == null) { $esi = new Eseye(); } else { + $tokenExpires = $token->inserted_at + $token->expires_in; + //Setup the esi authentication container $authentication = new EsiAuthentication([ 'client_id' => $config['client_id'],