token refreshment

This commit is contained in:
2021-02-13 16:58:11 +09:00
parent 8e42f49d8f
commit 5bb8853714

View File

@@ -158,6 +158,8 @@ class Esi {
$esi = null;
$config = config('esi');
dd($token);
$tokenExpires = time() + $token->expires_in;
if($token == null) {