mirror of
https://github.com/Readarr/Readarr
synced 2025-12-29 03:34:35 +01:00
Fixed: Don't ignore default Boolean in db serialization
This commit is contained in:
parent
eaf46b0550
commit
16b3817202
2 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ public EmbeddedDocumentConverter()
|
|||
var serializerSettings = new JsonSerializerOptions
|
||||
{
|
||||
AllowTrailingCommas = true,
|
||||
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingDefault,
|
||||
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
|
||||
PropertyNameCaseInsensitive = true,
|
||||
DictionaryKeyPolicy = JsonNamingPolicy.CamelCase,
|
||||
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ protected ProviderRepository(IMainDatabase database, IEventAggregator eventAggre
|
|||
var serializerSettings = new JsonSerializerOptions
|
||||
{
|
||||
AllowTrailingCommas = true,
|
||||
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingDefault,
|
||||
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
|
||||
PropertyNameCaseInsensitive = true,
|
||||
DictionaryKeyPolicy = JsonNamingPolicy.CamelCase,
|
||||
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
|
||||
|
|
|
|||
Loading…
Reference in a new issue