Resolve CA1054

This commit is contained in:
JustArchi
2021-05-06 22:50:59 +02:00
parent 143039c584
commit 9a8a61e111
9 changed files with 287 additions and 301 deletions

View File

@@ -475,8 +475,6 @@ namespace ArchiSteamFarm.OfficialPlugins.SteamTokenDumper {
return;
}
const string request = SharedInfo.ServerURL + "/submit";
if (GlobalCache == null) {
throw new InvalidOperationException(nameof(GlobalCache));
}
@@ -512,6 +510,7 @@ namespace ArchiSteamFarm.OfficialPlugins.SteamTokenDumper {
return;
}
Uri request = new(SharedInfo.ServerURL + "/submit");
RequestData requestData = new(contributorSteamID, appTokens, packageTokens, depotKeys);
ASF.ArchiLogger.LogGenericInfo(string.Format(CultureInfo.CurrentCulture, Strings.SubmissionInProgress, appTokens.Count, packageTokens.Count, depotKeys.Count));