Return array for GetAvailableControllers

This commit is contained in:
glax 2023-05-23 14:45:51 +02:00
parent 947b521163
commit a966bd788d

View File

@ -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());