Skip to content

Commit

Permalink
1.31.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dankinsoid committed Jul 22, 2024
1 parent e7955b4 commit 43f1c65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public struct TokenRefresherMiddleware: HTTPClientMiddleware {

if
let currentExpiryDate,
currentExpiryDate > Date()
currentExpiryDate < Date()
{
(accessToken, refreshToken, _) = try await refreshTokenAndCache(configs, accessToken: accessToken, refreshToken: refreshToken)
} else {
Expand Down

0 comments on commit 43f1c65

Please sign in to comment.