Skip to content

Commit

Permalink
netf brain damage as usual
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Oct 30, 2023
1 parent 2a23198 commit 5490539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArchiSteamFarm/Steam/Bot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5490539

Please sign in to comment.