Use pipelines to read request bodies instead of stream

This commit is contained in:
Slendy 2023-02-11 21:11:20 -06:00
parent 30cffef2f2
commit bff915e304
No known key found for this signature in database
GPG key ID: 7288D68361B91428
3 changed files with 70 additions and 25 deletions

View file

@ -48,7 +48,7 @@ public class MatchController : ControllerBase
if (bodyString.Length == 0 || bodyString[0] != '[') return this.BadRequest();
Logger.Info("Received match data: " + bodyString, LogArea.Match);
Logger.Debug("Received match data: " + bodyString, LogArea.Match);
IMatchCommand? matchData;
try