changes on Startup.cs
This commit is contained in:
@@ -48,7 +48,7 @@ namespace ReallifeGamemode.DataService
|
||||
|
||||
services
|
||||
.AddMvc()
|
||||
.AddJsonOptions(j =>
|
||||
.AddNewtonsoftJson(j =>
|
||||
{
|
||||
j.SerializerSettings.NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore;
|
||||
j.SerializerSettings.DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc;
|
||||
|
||||
Reference in New Issue
Block a user