fixed optional param in JobsController.StartJob

This commit is contained in:
Flaminel
2026-03-21 21:43:11 +02:00
parent 0974b54b96
commit f009d9a485

View File

@@ -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)
{