From cc426baf284c4625ea6bd068e21ce56710d15ffe Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Sat, 18 Aug 2018 05:32:18 -0400 Subject: [PATCH] Minor DreamDaemonController touchups --- .../Controllers/DreamDaemonController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tgstation.Server.Host/Controllers/DreamDaemonController.cs b/src/Tgstation.Server.Host/Controllers/DreamDaemonController.cs index 323b60d631..2872f37787 100644 --- a/src/Tgstation.Server.Host/Controllers/DreamDaemonController.cs +++ b/src/Tgstation.Server.Host/Controllers/DreamDaemonController.cs @@ -74,7 +74,7 @@ namespace Tgstation.Server.Host.Controllers throw new InvalidOperationException("Watchdog already running!"); }, cancellationToken).ConfigureAwait(false); - return Json(job); + return Json(job.ToApi()); } /// @@ -178,7 +178,7 @@ namespace Tgstation.Server.Host.Controllers return Forbid(); if (current.SecurityLevel == DreamDaemonSecurity.Ultrasafe) - return BadRequest(new ErrorMessage { Message = "TGS does not support the ultrasafe DreamDaemon configuration!" }); + return BadRequest(new ErrorMessage { Message = "This version of TGS does not support the ultrasafe DreamDaemon configuration!" }); var wd = instanceManager.GetInstance(Instance).Watchdog;