mirror of https://github.com/lidarr/Lidarr
Fixed: Don't ignore default Boolean in db serialization
(cherry picked from commit 16b381720225b159d47a15e4beb50f8835940cda)
This commit is contained in:
parent
c1a6e1c39d
commit
de1968e5ba
|
@ -14,7 +14,7 @@ namespace NzbDrone.Core.Datastore.Converters
|
|||
var serializerSettings = new JsonSerializerOptions
|
||||
{
|
||||
AllowTrailingCommas = true,
|
||||
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingDefault,
|
||||
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
|
||||
PropertyNameCaseInsensitive = true,
|
||||
DictionaryKeyPolicy = JsonNamingPolicy.CamelCase,
|
||||
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
|
||||
|
|
|
@ -22,7 +22,7 @@ namespace NzbDrone.Core.ThingiProvider
|
|||
var serializerSettings = new JsonSerializerOptions
|
||||
{
|
||||
AllowTrailingCommas = true,
|
||||
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingDefault,
|
||||
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
|
||||
PropertyNameCaseInsensitive = true,
|
||||
DictionaryKeyPolicy = JsonNamingPolicy.CamelCase,
|
||||
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
|
||||
|
|
Loading…
Reference in New Issue