diff --git a/Jellyfin.Api/Controllers/ScheduledTasksController.cs b/Jellyfin.Api/Controllers/ScheduledTasksController.cs
index f7122c4134..64de23ef2a 100644
--- a/Jellyfin.Api/Controllers/ScheduledTasksController.cs
+++ b/Jellyfin.Api/Controllers/ScheduledTasksController.cs
@@ -88,9 +88,9 @@ namespace Jellyfin.Api.Controllers
/// Start specified task.
///
/// Task Id.
- /// Task started.
+ /// Task started.
/// Task not found.
- /// An on success, or a if the file could not be found.
+ /// An on success, or a if the file could not be found.
[HttpPost("Running/{taskId}")]
[ProducesResponseType(StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status404NotFound)]
@@ -105,14 +105,14 @@ namespace Jellyfin.Api.Controllers
}
_taskManager.Execute(task, new TaskOptions());
- return Ok();
+ return NoContent();
}
///
/// Stop specified task.
///
/// Task Id.
- /// Task stopped.
+ /// Task stopped.
/// Task not found.
/// An on success, or a if the file could not be found.
[HttpDelete("Running/{taskId}")]
@@ -129,7 +129,7 @@ namespace Jellyfin.Api.Controllers
}
_taskManager.Cancel(task);
- return Ok();
+ return NoContent();
}
///
@@ -137,7 +137,7 @@ namespace Jellyfin.Api.Controllers
///
/// Task Id.
/// Triggers.
- /// Task triggers updated.
+ /// Task triggers updated.
/// Task not found.
/// An on success, or a if the file could not be found.
[HttpPost("{taskId}/Triggers")]
@@ -155,7 +155,7 @@ namespace Jellyfin.Api.Controllers
}
task.Triggers = triggerInfos;
- return Ok();
+ return NoContent();
}
}
}