aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/ScheduledTasksController.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-05-19 12:56:57 -0600
committercrobibero <cody@robibe.ro>2020-05-19 12:56:57 -0600
commit2f2bceb1104d8ea669ca21fc40200247aca956ed (patch)
treef653d6d3f392843c0d811922d8658fdd2a997964 /Jellyfin.Api/Controllers/ScheduledTasksController.cs
parentc998935d29d04a55babdeb0adcf1d1091611b1e3 (diff)
Remove default parameter values
Diffstat (limited to 'Jellyfin.Api/Controllers/ScheduledTasksController.cs')
-rw-r--r--Jellyfin.Api/Controllers/ScheduledTasksController.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/ScheduledTasksController.cs b/Jellyfin.Api/Controllers/ScheduledTasksController.cs
index 3e3359ec7..19cce974e 100644
--- a/Jellyfin.Api/Controllers/ScheduledTasksController.cs
+++ b/Jellyfin.Api/Controllers/ScheduledTasksController.cs
@@ -39,8 +39,8 @@ namespace Jellyfin.Api.Controllers
[HttpGet]
[ProducesResponseType(StatusCodes.Status200OK)]
public IEnumerable<IScheduledTaskWorker> GetTasks(
- [FromQuery] bool? isHidden = false,
- [FromQuery] bool? isEnabled = false)
+ [FromQuery] bool? isHidden,
+ [FromQuery] bool? isEnabled)
{
IEnumerable<IScheduledTaskWorker> tasks = _taskManager.ScheduledTasks.OrderBy(o => o.Name);