Skip to content

Commit 02e4650

Browse files
committed
Get job key list as strings
1 parent 337e0e0 commit 02e4650

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

IntegrationEngine/Api/Controllers/JobController.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ public JobController(IEngineScheduler engineScheduler)
2424
EngineScheduler = engineScheduler;
2525
}
2626

27-
public IHttpActionResult GetJobs()
27+
public IHttpActionResult GetJobKeys()
2828
{
29-
return Ok(EngineScheduler.Scheduler.GetJobKeys(GroupMatcher<JobKey>.AnyGroup()).ToList());
29+
return Ok(EngineScheduler.Scheduler
30+
.GetJobKeys(GroupMatcher<JobKey>.AnyGroup())
31+
.Select(x => x.ToString()).ToList());
3032
}
31-
3233
}
3334
}

0 commit comments

Comments
 (0)