Fixed: Refresh backup list on deletion

Fixes #2300
pull/2304/head
Bogdan 2 weeks ago
parent d29ccd7749
commit 31d8d2419a

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

Loading…
Cancel
Save