mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-01-31 00:47:30 +01:00
Return array for GetAvailableControllers
This commit is contained in:
parent
947b521163
commit
a966bd788d
@ -47,7 +47,7 @@ app.UseSwaggerUI();
|
|||||||
|
|
||||||
app.UseCors(corsHeader);
|
app.UseCors(corsHeader);
|
||||||
|
|
||||||
app.MapGet("/Tranga/GetAvailableControllers", () => taskManager.GetAvailableConnectors());
|
app.MapGet("/Tranga/GetAvailableControllers", () => taskManager.GetAvailableConnectors().Keys.ToArray());
|
||||||
|
|
||||||
app.MapGet("/Tranga/GetKnownPublications", () => taskManager.GetAllPublications());
|
app.MapGet("/Tranga/GetKnownPublications", () => taskManager.GetAllPublications());
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user