Fix deleting providers

(cherry picked from commit a6f8391f40b38daba7208db4e2354ceeba4d08fe)
This commit is contained in:
ta264 2021-08-04 21:42:41 +01:00 committed by Qstick
commit ccc417e62e

View file

@ -102,9 +102,10 @@ namespace Lidarr.Api.V1
} }
[RestDeleteById] [RestDeleteById]
public void DeleteProvider(int id) public object DeleteProvider(int id)
{ {
_providerFactory.Delete(id); _providerFactory.Delete(id);
return new object();
} }
[HttpGet("schema")] [HttpGet("schema")]