From 0f615c69f905c13b2b6879b11b25b50727627dd3 Mon Sep 17 00:00:00 2001 From: TLeoDev <115005885+TLeoDev@users.noreply.github.com> Date: Tue, 5 Dec 2023 14:05:46 +0100 Subject: [PATCH] Fix #2675 - Unable to create edge device model since the module version is required (#2676) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Léo TUAILLON --- src/IoTHub.Portal.Shared/Models/v1.0/IoTEdgeModule.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/IoTHub.Portal.Shared/Models/v1.0/IoTEdgeModule.cs b/src/IoTHub.Portal.Shared/Models/v1.0/IoTEdgeModule.cs index c42496e8e..4fba0ebca 100644 --- a/src/IoTHub.Portal.Shared/Models/v1.0/IoTEdgeModule.cs +++ b/src/IoTHub.Portal.Shared/Models/v1.0/IoTEdgeModule.cs @@ -51,7 +51,6 @@ public class IoTEdgeModule /// public List Commands { get; set; } = new List(); - [Required(ErrorMessage = "The component version is required.", AllowEmptyStrings = true)] public string Version { get; set; } = default!; } }