diff --git a/ArchiSteamFarm/WebBrowser.cs b/ArchiSteamFarm/WebBrowser.cs index 59c0bcdf5..5667d5408 100644 --- a/ArchiSteamFarm/WebBrowser.cs +++ b/ArchiSteamFarm/WebBrowser.cs @@ -1123,19 +1123,13 @@ namespace ArchiSteamFarm { [PublicAPI] public string? Content { get; } - internal StringResponse(HttpResponseMessage httpResponseMessage, string content) : this(httpResponseMessage) { + internal StringResponse(HttpResponseMessage httpResponseMessage, string content) : base(httpResponseMessage) { if (httpResponseMessage == null) { throw new ArgumentNullException(nameof(httpResponseMessage)); } Content = content ?? throw new ArgumentNullException(nameof(content)); } - - internal StringResponse(HttpResponseMessage httpResponseMessage) : base(httpResponseMessage) { - if (httpResponseMessage == null) { - throw new ArgumentNullException(nameof(httpResponseMessage)); - } - } } public sealed class XmlDocumentResponse : BasicResponse {