From 5490539480518398e8a3ba444f93cf2259c74eee Mon Sep 17 00:00:00 2001 From: Archi Date: Mon, 30 Oct 2023 22:46:43 +0100 Subject: [PATCH] netf brain damage as usual --- ArchiSteamFarm/Steam/Bot.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArchiSteamFarm/Steam/Bot.cs b/ArchiSteamFarm/Steam/Bot.cs index 18905fce2f055..6e113f488cc44 100644 --- a/ArchiSteamFarm/Steam/Bot.cs +++ b/ArchiSteamFarm/Steam/Bot.cs @@ -3796,7 +3796,7 @@ private void UpdateTokens(string accessToken, string? refreshToken = null) { BotDatabase.AccessToken = ArchiCryptoHelper.Encrypt(BotConfig.PasswordFormat, accessToken); if (!string.IsNullOrEmpty(refreshToken)) { - BotDatabase.RefreshToken = ArchiCryptoHelper.Encrypt(BotConfig.PasswordFormat, refreshToken); + BotDatabase.RefreshToken = ArchiCryptoHelper.Encrypt(BotConfig.PasswordFormat, refreshToken!); } } else { BotDatabase.AccessToken = accessToken;