From 75ea9cda6ca5a441e328e6654be39a37f7875eef Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Tue, 18 Sep 2018 12:28:38 -0400 Subject: [PATCH] Marks required CompileJob fields as required --- src/Tgstation.Server.Api/Models/Internal/CompileJob.cs | 3 +++ src/Tgstation.Server.Host/Models/CompileJob.cs | 1 + 2 files changed, 4 insertions(+) diff --git a/src/Tgstation.Server.Api/Models/Internal/CompileJob.cs b/src/Tgstation.Server.Api/Models/Internal/CompileJob.cs index e101ff7f23..c659c49737 100644 --- a/src/Tgstation.Server.Api/Models/Internal/CompileJob.cs +++ b/src/Tgstation.Server.Api/Models/Internal/CompileJob.cs @@ -16,16 +16,19 @@ namespace Tgstation.Server.Api.Models.Internal /// /// The .dme file used for compilation /// + [Required] public string DmeName { get; set; } /// /// Textual output of DM /// + [Required] public string Output { get; set; } /// /// The Game folder the results were compiled into /// + [Required] public Guid? DirectoryName { get; set; } /// diff --git a/src/Tgstation.Server.Host/Models/CompileJob.cs b/src/Tgstation.Server.Host/Models/CompileJob.cs index e372065af0..ffcdd186a4 100644 --- a/src/Tgstation.Server.Host/Models/CompileJob.cs +++ b/src/Tgstation.Server.Host/Models/CompileJob.cs @@ -9,6 +9,7 @@ namespace Tgstation.Server.Host.Models /// /// See /// + [Required] public Job Job { get; set; } ///