From ccc417e62edf2c43b23310bb1f8ed65693154848 Mon Sep 17 00:00:00 2001 From: ta264 Date: Wed, 4 Aug 2021 21:42:41 +0100 Subject: [PATCH] Fix deleting providers (cherry picked from commit a6f8391f40b38daba7208db4e2354ceeba4d08fe) --- src/Lidarr.Api.V1/ProviderControllerBase.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Lidarr.Api.V1/ProviderControllerBase.cs b/src/Lidarr.Api.V1/ProviderControllerBase.cs index 4b77c1ce9..b4d6ceb7e 100644 --- a/src/Lidarr.Api.V1/ProviderControllerBase.cs +++ b/src/Lidarr.Api.V1/ProviderControllerBase.cs @@ -102,9 +102,10 @@ namespace Lidarr.Api.V1 } [RestDeleteById] - public void DeleteProvider(int id) + public object DeleteProvider(int id) { _providerFactory.Delete(id); + return new object(); } [HttpGet("schema")]