mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-03-28 19:11:29 -04:00
fixed optional param in JobsController.StartJob
This commit is contained in:
@@ -57,7 +57,7 @@ public class JobsController : ControllerBase
|
||||
}
|
||||
|
||||
[HttpPost("{jobType}/start")]
|
||||
public async Task<IActionResult> StartJob(JobType jobType, [FromBody] ScheduleRequest scheduleRequest = null)
|
||||
public async Task<IActionResult> StartJob(JobType jobType, [FromBody] ScheduleRequest scheduleRequest)
|
||||
{
|
||||
if (jobType == JobType.Seeker)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user