From f6c87a153227370bb2f0dfec91ff3bed49826908 Mon Sep 17 00:00:00 2001 From: Jonas Hendrickx Date: Mon, 26 Aug 2024 15:56:38 +0200 Subject: [PATCH] PAS-563 | RPID is not mapped correctly when retrieving credentials (#151) --- 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,