From 8febdcf406e26f0094fbd0f0adc05557af398558 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Sat, 1 Oct 2022 22:32:38 -0400 Subject: [PATCH] Remove another redundant cast --- src/Tgstation.Server.Host/Controllers/ByondController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tgstation.Server.Host/Controllers/ByondController.cs b/src/Tgstation.Server.Host/Controllers/ByondController.cs index 40d88ce456..4990d25c6d 100644 --- a/src/Tgstation.Server.Host/Controllers/ByondController.cs +++ b/src/Tgstation.Server.Host/Controllers/ByondController.cs @@ -229,7 +229,7 @@ namespace Tgstation.Server.Host.Controllers } } - return result.InstallJob != null ? (IActionResult)Accepted(result) : Json(result); + return result.InstallJob != null ? Accepted(result) : Json(result); }) ; }