Remove default parameter values

This commit is contained in:
crobibero 2020-05-19 12:56:57 -06:00
parent c998935d29
commit 2f2bceb110

View File

@ -39,8 +39,8 @@ namespace Jellyfin.Api.Controllers
[HttpGet] [HttpGet]
[ProducesResponseType(StatusCodes.Status200OK)] [ProducesResponseType(StatusCodes.Status200OK)]
public IEnumerable<IScheduledTaskWorker> GetTasks( public IEnumerable<IScheduledTaskWorker> GetTasks(
[FromQuery] bool? isHidden = false, [FromQuery] bool? isHidden,
[FromQuery] bool? isEnabled = false) [FromQuery] bool? isEnabled)
{ {
IEnumerable<IScheduledTaskWorker> tasks = _taskManager.ScheduledTasks.OrderBy(o => o.Name); IEnumerable<IScheduledTaskWorker> tasks = _taskManager.ScheduledTasks.OrderBy(o => o.Name);