Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Dec 15, 2023
1 parent 4b29daa commit 20af0ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ArchiSteamFarm/Steam/Bot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3298,6 +3298,8 @@ private async void OnRefreshTokensTimer(object? state = null) {
if ((accessTokenValidUntil > DateTime.MinValue) && (accessTokenValidUntil > DateTime.UtcNow.AddMinutes(MinimumAccessTokenValidityMinutes))) {
// We don't need to refresh just yet
InitRefreshTokensTimer(accessTokenValidUntil);

return;
}

await RefreshWebSession().ConfigureAwait(false);
Expand Down

0 comments on commit 20af0ed

Please sign in to comment.