diff --git a/Endpoint/Controllers/V1/Configuration/ScheduleController.cs b/Endpoint/Controllers/V1/Configuration/ScheduleController.cs index 6b548d3..30397e1 100644 --- a/Endpoint/Controllers/V1/Configuration/ScheduleController.cs +++ b/Endpoint/Controllers/V1/Configuration/ScheduleController.cs @@ -53,12 +53,12 @@ public class ScheduleController(ILogger logger, IOptionsSnap throw new ControllerArgumentException("Incorrect cron value."); if (config.Value.ScheduleSettings!.CronUpdateSchedule == cron) - return Ok(CronUpdateSchedule()); + return CronUpdateSchedule(); config.Value.ScheduleSettings!.CronUpdateSchedule = cron; config.Value.SaveSetting(); - return Ok(CronUpdateSchedule()); + return CronUpdateSchedule(); } ///