diff --git a/Kudu.Core/Functions/PatchSpec.cs b/Kudu.Core/Functions/PatchSpec.cs index 111bba6e..d80f5df5 100644 --- a/Kudu.Core/Functions/PatchSpec.cs +++ b/Kudu.Core/Functions/PatchSpec.cs @@ -7,10 +7,10 @@ namespace Kudu.Core.Functions { public class PatchSpec { - [JsonProperty(PropertyName = "triggerOptions")] + [JsonProperty(PropertyName = "triggerOptions", DefaultValueHandling = DefaultValueHandling.Ignore)] public TriggerOptions TriggerOptions { get; set; } - [JsonProperty(PropertyName = "code")] + [JsonProperty(PropertyName = "code", DefaultValueHandling = DefaultValueHandling.Ignore)] public CodeSpec Code { get; set; } } }