Skip to content

Commit

Permalink
fix serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
mgunnerud committed Nov 18, 2024
1 parent 399fdf4 commit ca85b65
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@ public class ChangeRequest()
/// The list of resources calculated from RequiredRights.
/// </summary>
[Required]
[JsonPropertyName("resources")]
[JsonPropertyName("requiredResources")]
public List<ServiceResource> RequiredResources { get; set; } = [];

/// <summary>
/// The list of resources calculated from UnwantedRights.
/// </summary>
[Required]
[JsonPropertyName("resources")]
[JsonPropertyName("unwantedResources")]
public List<ServiceResource> UnwantedResources { get; set; } = [];

/// <summary>
Expand Down

0 comments on commit ca85b65

Please sign in to comment.