Skip to content

Commit

Permalink
Fix #2675 - Unable to create edge device model since the module versi…
Browse files Browse the repository at this point in the history
…on is required (#2676)

Co-authored-by: Léo TUAILLON <leo.tuaillon@cgi.com>
  • Loading branch information
TLeoDev and Léo TUAILLON authored Dec 5, 2023
1 parent be7b2f9 commit 0f615c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/IoTHub.Portal.Shared/Models/v1.0/IoTEdgeModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ public class IoTEdgeModule
/// </summary>
public List<IoTEdgeModuleCommand> Commands { get; set; } = new List<IoTEdgeModuleCommand>();

[Required(ErrorMessage = "The component version is required.", AllowEmptyStrings = true)]
public string Version { get; set; } = default!;
}
}

0 comments on commit 0f615c6

Please sign in to comment.