Skip to content

Commit

Permalink
netf brain damage
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Oct 20, 2023
1 parent 93402cc commit 7f4a11b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ArchiSteamFarm/Steam/Bot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,8 @@ internal async Task<bool> RefreshWebSession(bool force = false) {
}

// TODO: Handle update of refresh token with next SK2 release
UpdateTokens(response.access_token!, RefreshToken!);
// ReSharper disable once RedundantSuppressNullableWarningExpression - required for .NET Framework
UpdateTokens(response!.access_token, RefreshToken!);

if (await ArchiWebHandler.Init(SteamID, SteamClient.Universe, response.access_token!, SteamParentalActive ? BotConfig.SteamParentalCode : null).ConfigureAwait(false)) {
InitRefreshTokensTimer(AccessTokenValidUntil ?? now.AddHours(18));
Expand Down

0 comments on commit 7f4a11b

Please sign in to comment.