Commit c56c7417 authored by Theresia Rupprecht's avatar Theresia Rupprecht
Browse files

Fix: getMaintenance does not return an error anymore if empty (coscine/issues#1488)

parent 80d6abc6
......@@ -72,7 +72,7 @@ namespace Coscine.Api.Notices.Controllers
if (maintenance == null)
{
return NotFound("No maintenance was found.");
return Ok(new MaintenanceReturnObject());
}
var maintenanceReturnObject = new MaintenanceReturnObject
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment