diff --git a/src/Lidarr.Api.V1/System/Backup/BackupController.cs b/src/Lidarr.Api.V1/System/Backup/BackupController.cs index fba675267..22f017d03 100644 --- a/src/Lidarr.Api.V1/System/Backup/BackupController.cs +++ b/src/Lidarr.Api.V1/System/Backup/BackupController.cs @@ -50,7 +50,7 @@ public List 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}")]