diff options
| author | BaronGreenback <jimcartlidge@yahoo.co.uk> | 2020-10-31 12:41:03 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-31 12:41:03 +0000 |
| commit | c54bdb4a0af1b132601b557ed2a9f4a76a4893cc (patch) | |
| tree | be6bc5bd549336584e3740ab9a4f3e8df5349de7 /Jellyfin.Api/Controllers/ScheduledTasksController.cs | |
| parent | 3ae37deea8a84edfc0281c984027f8a8145c7a9c (diff) | |
| parent | 4f320308f333507a324740248c7dd025085a7d67 (diff) | |
Merge pull request #86 from jellyfin/master
Updating from master
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); } } |
