This commit is contained in:
JustArchi
2018-02-26 09:10:26 +01:00
parent 1afc8f06af
commit cb981701b2
2 changed files with 6 additions and 6 deletions

View File

@@ -111,9 +111,9 @@ namespace ArchiSteamFarm {
}
}
internal async Task AddGameToRedeemInBackground(string key, string game) {
if (string.IsNullOrEmpty(key) || string.IsNullOrEmpty(game)) {
ASF.ArchiLogger.LogNullError(nameof(key) + " || " + nameof(game));
internal async Task AddGameToRedeemInBackground(string key, string name) {
if (string.IsNullOrEmpty(key) || string.IsNullOrEmpty(name)) {
ASF.ArchiLogger.LogNullError(nameof(key) + " || " + nameof(name));
return;
}
@@ -122,7 +122,7 @@ namespace ArchiSteamFarm {
return;
}
GamesToRedeemInBackground.Add(key, game);
GamesToRedeemInBackground.Add(key, name);
}
await Save().ConfigureAwait(false);