Skip to content

Commit

Permalink
Removed the workaround since it has been fixed on dps.report servers
Browse files Browse the repository at this point in the history
  • Loading branch information
Plenyx committed Jun 29, 2024
1 parent 841b1db commit 71f374c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Forms/FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -787,8 +787,6 @@ internal async Task HttpUploadLogAsync(string file, Dictionary<string, string> 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<DpsReportJson>(response);
Expand Down

0 comments on commit 71f374c

Please sign in to comment.