mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-12-31 10:05:15 +01:00
@@ -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}")]
|
||||
|
||||
Reference in New Issue
Block a user