mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-01-05 15:22:54 +01:00
parent
d29ccd7749
commit
31d8d2419a
1 changed files with 3 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ public List<BackupResource> GetBackupFiles()
|
|||
}
|
||||
|
||||
[RestDeleteById]
|
||||
public void DeleteBackup(int id)
|
||||
public object DeleteBackup(int id)
|
||||
{
|
||||
var backup = GetBackup(id);
|
||||
|
||||
|
|
@ -68,6 +68,8 @@ public void DeleteBackup(int id)
|
|||
}
|
||||
|
||||
_diskProvider.DeleteFile(path);
|
||||
|
||||
return new { };
|
||||
}
|
||||
|
||||
[HttpPost("restore/{id:int}")]
|
||||
|
|
|
|||
Loading…
Reference in a new issue