Fixed: Refresh backup list on deletion

(cherry picked from commit 3b00112447361b19c04851a510e63f812597a043)
pull/10772/head v5.16.2.9534
Bogdan 1 month ago
parent 64fd8552f8
commit 23fce4bf2e

@ -50,7 +50,7 @@ namespace Radarr.Api.V3.System.Backup
}
[RestDeleteById]
public void DeleteBackup(int id)
public object DeleteBackup(int id)
{
var backup = GetBackup(id);
@ -67,6 +67,8 @@ namespace Radarr.Api.V3.System.Backup
}
_diskProvider.DeleteFile(path);
return new { };
}
[HttpPost("restore/{id:int}")]

Loading…
Cancel
Save