Skip to content

Commit

Permalink
Fix DefaultValueHandling in sync triggers (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmelsayed authored May 24, 2021
1 parent 632fd9a commit 1300017
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Kudu.Core/Functions/PatchSpec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
}
}

0 comments on commit 1300017

Please sign in to comment.