From 1cc81173f803e8415e629832d207a8f439cab484 Mon Sep 17 00:00:00 2001 From: Jonas Hendrickx Date: Mon, 26 Aug 2024 15:33:58 +0200 Subject: [PATCH] PAS-563 | RPID is not mapped correctly when retrieving credentials --- src/Passwordless/Models/Credential.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Passwordless/Models/Credential.cs b/src/Passwordless/Models/Credential.cs index 7953c84..9cded94 100644 --- a/src/Passwordless/Models/Credential.cs +++ b/src/Passwordless/Models/Credential.cs @@ -1,4 +1,5 @@ using System; +using System.Text.Json.Serialization; namespace Passwordless; @@ -32,7 +33,7 @@ public record Credential( DateTime CreatedAt, Guid AaGuid, DateTime LastUsedAt, - string RpId, + [property: JsonPropertyName("rpid")] string RpId, string Origin, string Country, string Device,