diff options
| author | Stan <stanislav.ionascu@gmail.com> | 2020-10-28 13:18:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-28 13:18:05 +0100 |
| commit | 3bb8884e164857af01909d0f414f55ecf2a4f1e0 (patch) | |
| tree | f03482a03d8523a17c36d74006bea35a8c7141d1 /Jellyfin.Api/Controllers/ScheduledTasksController.cs | |
| parent | cd4641dca02bae552cc7ea1942b0efbd4b791bcb (diff) | |
| parent | be2f27a0695e5f3102f79a2e246e971682cff603 (diff) | |
Merge branch 'master' into bdiso-playback
Diffstat (limited to 'Jellyfin.Api/Controllers/ScheduledTasksController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/ScheduledTasksController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/ScheduledTasksController.cs b/Jellyfin.Api/Controllers/ScheduledTasksController.cs index ab7920895..68e4f0586 100644 --- a/Jellyfin.Api/Controllers/ScheduledTasksController.cs +++ b/Jellyfin.Api/Controllers/ScheduledTasksController.cs @@ -36,7 +36,7 @@ namespace Jellyfin.Api.Controllers /// <returns>The list of scheduled tasks.</returns> [HttpGet] [ProducesResponseType(StatusCodes.Status200OK)] - public IEnumerable<IScheduledTaskWorker> GetTasks( + public IEnumerable<TaskInfo> GetTasks( [FromQuery] bool? isHidden, [FromQuery] bool? isEnabled) { @@ -57,7 +57,7 @@ namespace Jellyfin.Api.Controllers } } - yield return task; + yield return ScheduledTaskHelpers.GetTaskInfo(task); } } |
