Return array for GetAvailableControllers
This commit is contained in:
parent
947b521163
commit
a966bd788d
@ -47,7 +47,7 @@ app.UseSwaggerUI();
|
||||
|
||||
app.UseCors(corsHeader);
|
||||
|
||||
app.MapGet("/Tranga/GetAvailableControllers", () => taskManager.GetAvailableConnectors());
|
||||
app.MapGet("/Tranga/GetAvailableControllers", () => taskManager.GetAvailableConnectors().Keys.ToArray());
|
||||
|
||||
app.MapGet("/Tranga/GetKnownPublications", () => taskManager.GetAllPublications());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user