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); 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