From 6363d663a11f6904666694a7502630c02ef8135a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Vetni=C4=87?= Date: Wed, 24 Jan 2024 15:49:59 +0100 Subject: [PATCH] refactor: make property required to avoid compiler error --- .../Devices/src/Devices.Application/Devices/DTOs/DeviceDTO.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Devices/src/Devices.Application/Devices/DTOs/DeviceDTO.cs b/Modules/Devices/src/Devices.Application/Devices/DTOs/DeviceDTO.cs index 932285c8a2..4a1442acca 100644 --- a/Modules/Devices/src/Devices.Application/Devices/DTOs/DeviceDTO.cs +++ b/Modules/Devices/src/Devices.Application/Devices/DTOs/DeviceDTO.cs @@ -30,5 +30,5 @@ public void CreateMappings(Profile configuration) public class LastLoginInformation { - public DateTime? Time { get; set; } + public required DateTime? Time { get; set; } }