From ca85b65e9fc809c660331cbaba741a10cdfca4c3 Mon Sep 17 00:00:00 2001 From: Martin Gunnerud Date: Mon, 18 Nov 2024 11:11:17 +0100 Subject: [PATCH] fix serialization --- .../SystemUsers/ChangeRequest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bff/src/Altinn.Authentication.UI/Altinn.Authentication.UI.Core/SystemUsers/ChangeRequest.cs b/bff/src/Altinn.Authentication.UI/Altinn.Authentication.UI.Core/SystemUsers/ChangeRequest.cs index 26675e82..7445a431 100644 --- a/bff/src/Altinn.Authentication.UI/Altinn.Authentication.UI.Core/SystemUsers/ChangeRequest.cs +++ b/bff/src/Altinn.Authentication.UI/Altinn.Authentication.UI.Core/SystemUsers/ChangeRequest.cs @@ -101,14 +101,14 @@ public class ChangeRequest() /// The list of resources calculated from RequiredRights. /// [Required] - [JsonPropertyName("resources")] + [JsonPropertyName("requiredResources")] public List RequiredResources { get; set; } = []; /// /// The list of resources calculated from UnwantedRights. /// [Required] - [JsonPropertyName("resources")] + [JsonPropertyName("unwantedResources")] public List UnwantedResources { get; set; } = []; ///