From e0da422b0e195c295439efb8868692c8580ed935 Mon Sep 17 00:00:00 2001 From: nitsua Date: Mon, 21 Mar 2022 10:58:08 -0400 Subject: [PATCH] Fix app settings delete modal not closing and reloading app profiles --- src/Prowlarr.Api.V1/Profiles/App/AppProfileController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Prowlarr.Api.V1/Profiles/App/AppProfileController.cs b/src/Prowlarr.Api.V1/Profiles/App/AppProfileController.cs index 2225ace22..586b2ca9f 100644 --- a/src/Prowlarr.Api.V1/Profiles/App/AppProfileController.cs +++ b/src/Prowlarr.Api.V1/Profiles/App/AppProfileController.cs @@ -30,9 +30,10 @@ public ActionResult Create(AppProfileResource resource) [RestDeleteById] [Produces("application/json")] - public void DeleteProfile(int id) + public object DeleteProfile(int id) { _profileService.Delete(id); + return new { }; } [RestPutById]