mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-10 13:44:22 +00:00
Use simplified logic also for global config
This commit is contained in:
@@ -119,9 +119,7 @@ namespace ArchiSteamFarm.IPC.Controllers.Api {
|
||||
return BadRequest(new GenericResponse(false, errorMessage));
|
||||
}
|
||||
|
||||
request.GlobalConfig.ShouldSerializeDefaultValues = false;
|
||||
request.GlobalConfig.ShouldSerializeHelperProperties = false;
|
||||
request.GlobalConfig.ShouldSerializeSensitiveDetails = true;
|
||||
request.GlobalConfig.Saving = true;
|
||||
|
||||
if (!request.GlobalConfig.IsWebProxyPasswordSet && ASF.GlobalConfig.IsWebProxyPasswordSet) {
|
||||
request.GlobalConfig.WebProxyPassword = ASF.GlobalConfig.WebProxyPassword;
|
||||
|
||||
Reference in New Issue
Block a user