From 622e82e3ca344c663da7ca041da13e2db5a2d498 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Vetni=C4=87?= Date: Wed, 24 Jan 2024 15:51:57 +0100 Subject: [PATCH] refactor: pass the entire identity to base ctor --- .../Identities/Queries/GetIdentity/GetIdentityResponse.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Devices/src/Devices.Application/Identities/Queries/GetIdentity/GetIdentityResponse.cs b/Modules/Devices/src/Devices.Application/Identities/Queries/GetIdentity/GetIdentityResponse.cs index 87997fe1b4..dd4572ce8d 100644 --- a/Modules/Devices/src/Devices.Application/Identities/Queries/GetIdentity/GetIdentityResponse.cs +++ b/Modules/Devices/src/Devices.Application/Identities/Queries/GetIdentity/GetIdentityResponse.cs @@ -4,5 +4,5 @@ namespace Backbone.Modules.Devices.Application.Identities.Queries.GetIdentity; public class GetIdentityResponse : IdentitySummaryDTO { - public GetIdentityResponse(Identity identity) : base(identity.Address, identity.ClientId, identity.PublicKey, identity.IdentityVersion, identity.CreatedAt, identity.Devices, identity.TierId) { } + public GetIdentityResponse(Identity identity) : base(identity) { } }