From 71f374cea79604fcbcce19e637f9fe8091f7cbed Mon Sep 17 00:00:00 2001 From: Plenyx <1507236+Plenyx@users.noreply.github.com> Date: Sat, 29 Jun 2024 12:14:47 +0200 Subject: [PATCH] Removed the workaround since it has been fixed on dps.report servers --- Forms/FormMain.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Forms/FormMain.cs b/Forms/FormMain.cs index e0ae59a..ffaba41 100644 --- a/Forms/FormMain.cs +++ b/Forms/FormMain.cs @@ -787,8 +787,6 @@ internal async Task HttpUploadLogAsync(string file, Dictionary p return; } var response = await responseMessage.Content.ReadAsStringAsync(); - // workaround for deserialisation and consequent application crash if the player list is an empty array, in case the log being corrupted - response = response?.Replace("\"players\": []", "\"players\": {}"); try { var reportJson = JsonConvert.DeserializeObject(response);