We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6548121 commit 0b5e1c5Copy full SHA for 0b5e1c5
1 file changed
src/Services/ApiWrapper.php
@@ -118,7 +118,7 @@ public function getAccessTokensAndRefreshIfNecessary($organization_slug): ?Acces
118
return null;
119
}
120
} else {
121
- if (new DateTime($tokenData->access_token_expires_at) < new DateTime()) {
+ if ($tokenData->access_token_expires_at < new DateTime()) {
122
$tokenData = $this->refreshToken($tokenData->refresh_token, $organization_slug);
123
return $tokenData;
124
0 commit comments