mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
parent
efc7ad5cb1
commit
54dbe9ff28
1 changed files with 2 additions and 2 deletions
|
|
@ -37,8 +37,8 @@ private static void AddMvcCustom(this IServiceCollection services) =>
|
|||
.SetCompatibilityVersion(CompatibilityVersion.Version_2_1)
|
||||
.AddJsonOptions(opts =>
|
||||
{
|
||||
opts.SerializerSettings.NullValueHandling = NullValueHandling.Ignore;
|
||||
opts.SerializerSettings.ContractResolver = new SkipEmptyContractResolver();
|
||||
//opts.SerializerSettings.NullValueHandling = NullValueHandling.Ignore;
|
||||
//opts.SerializerSettings.ContractResolver = new SkipEmptyContractResolver();
|
||||
});
|
||||
|
||||
private static void AddRoutingCustom(this IServiceCollection services) =>
|
||||
|
|
|
|||
Loading…
Reference in a new issue