1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-21 23:42:23 +00:00

Fixed: Refresh backup list on deletion

(cherry picked from commit 3b00112447361b19c04851a510e63f812597a043)
This commit is contained in:
Bogdan 2024-12-11 14:36:38 +02:00
parent 64fd8552f8
commit 23fce4bf2e

View file

@ -50,7 +50,7 @@ public List<BackupResource> GetBackupFiles()
}
[RestDeleteById]
public void DeleteBackup(int id)
public object DeleteBackup(int id)
{
var backup = GetBackup(id);
@ -67,6 +67,8 @@ public void DeleteBackup(int id)
}
_diskProvider.DeleteFile(path);
return new { };
}
[HttpPost("restore/{id:int}")]