Remove default parameter values
This commit is contained in:
parent
c998935d29
commit
2f2bceb110
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user