mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
netf brain damage
This commit is contained in:
@@ -1577,7 +1577,8 @@ public sealed class Bot : IAsyncDisposable, IDisposable {
|
||||
}
|
||||
|
||||
// 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));
|
||||
|
||||
Reference in New Issue
Block a user