2
0

Bug where Value was not returned

This commit is contained in:
glax 2023-05-19 20:35:51 +02:00
parent b040419e12
commit 82a474f45e

View File

@ -12,7 +12,7 @@ app.MapGet("/GetPublications", (string connectorName, string? title) =>
{
Connector? connector = taskManager.GetAvailableConnectors().FirstOrDefault(c => c.Key == connectorName).Value;
if (connector is null)
JsonSerializer.Serialize($"Connector {connectorName} is not a known connector.");
return JsonSerializer.Serialize($"Connector {connectorName} is not a known connector.");
Publication[] publications;
if (title is not null)