From 3b00112447361b19c04851a510e63f812597a043 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Wed, 11 Dec 2024 14:36:38 +0200 Subject: [PATCH] Fixed: Refresh backup list on deletion --- src/Sonarr.Api.V3/System/Backup/BackupController.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Sonarr.Api.V3/System/Backup/BackupController.cs b/src/Sonarr.Api.V3/System/Backup/BackupController.cs index 23d499b4e..ce3eeb2ea 100644 --- a/src/Sonarr.Api.V3/System/Backup/BackupController.cs +++ b/src/Sonarr.Api.V3/System/Backup/BackupController.cs @@ -50,7 +50,7 @@ namespace Sonarr.Api.V3.System.Backup } [RestDeleteById] - public void DeleteBackup(int id) + public object DeleteBackup(int id) { var backup = GetBackup(id); @@ -67,6 +67,8 @@ namespace Sonarr.Api.V3.System.Backup } _diskProvider.DeleteFile(path); + + return new { }; } [HttpPost("restore/{id:int}")]