diff --git a/Endpoint/Controllers/Configuration/SetupController.cs b/Endpoint/Controllers/Configuration/SetupController.cs index bc96cb1..de0a0be 100644 --- a/Endpoint/Controllers/Configuration/SetupController.cs +++ b/Endpoint/Controllers/Configuration/SetupController.cs @@ -206,7 +206,7 @@ public class SetupController(ISetupToken setupToken, IMaintenanceModeNotConfigur [HttpPost("SetLogging")] [TokenAuthentication] [BadRequestResponse] - public ActionResult SetLogging([FromBody] LoggingRequest? request) + public ActionResult SetLogging([FromBody] LoggingRequest? request = null) { var settings = (request == null) switch { @@ -234,7 +234,7 @@ public class SetupController(ISetupToken setupToken, IMaintenanceModeNotConfigur [HttpPost("SetEmail")] [TokenAuthentication] [BadRequestResponse] - public ActionResult SetEmail([FromBody] EmailRequest? request) + public ActionResult SetEmail([FromBody] EmailRequest? request = null) { var settings = (request == null) switch {