Skip to content

Commit

Permalink
Merge pull request #18 from kirkita/master
Browse files Browse the repository at this point in the history
Fix Exact online API Exception TooEarlyToRefreshTokens
  • Loading branch information
websmurf authored Mar 21, 2022
2 parents ddedf4d + 9ecbdd5 commit 165ab19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LaravelExactOnline.php
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ public static function tokenUpdateCallback(Connection $connection): void

$config->exact_accessToken = serialize($connection->getAccessToken());
$config->exact_refreshToken = $connection->getRefreshToken();
$config->exact_tokenExpires = $connection->getTokenExpires() - 60;
$config->exact_tokenExpires = $connection->getTokenExpires();

self::storeConfig($config);
}
Expand Down

0 comments on commit 165ab19

Please sign in to comment.