diff --git a/PdfService/Program.cs b/PdfService/Program.cs index 845c0f3..62a9446 100644 --- a/PdfService/Program.cs +++ b/PdfService/Program.cs @@ -1,3 +1,4 @@ +using System.Data; using Microsoft.AspNetCore.WebUtilities; using Newtonsoft.Json; using PdfService; @@ -32,7 +33,7 @@ app.MapPost("/Print", async (HttpContext context) => { if (part.ContentType == "application/json") { - data = JsonConvert.DeserializeObject(part.Content); + data = JsonConvert.DeserializeObject(part.Content); } else if (part.ContentType == "application/xml") {