From 6ca814e54e7126d6ffc5f60e12d711556be397f1 Mon Sep 17 00:00:00 2001 From: Sik Date: Tue, 8 Oct 2024 22:23:22 +0200 Subject: [PATCH 1/2] fix: detection of xml response type --- Web/API/Request.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/API/Request.cs b/Web/API/Request.cs index 05ac2f7..b695822 100644 --- a/Web/API/Request.cs +++ b/Web/API/Request.cs @@ -408,7 +408,7 @@ private async Task> Process(HttpRequestMessage request) switch (true) { - case bool b when (MediaType.Contains("application/xml")): + case bool b when (MediaType.Contains("xml")): XmlSerializer xmlSerializer = new(typeof(T)); StringReader reader = new(ContentResponse); From 67ffd2cb7d91255aa6e4cdd350652197d27131e6 Mon Sep 17 00:00:00 2001 From: Sik Date: Tue, 8 Oct 2024 22:26:05 +0200 Subject: [PATCH 2/2] feat: updated build version --- Web/Web.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/Web.csproj b/Web/Web.csproj index 96acc50..855c4d7 100644 --- a/Web/Web.csproj +++ b/Web/Web.csproj @@ -20,7 +20,7 @@ README.md FrenchyApps42 logo.png - 1.2.1 + 1.2.2