backups: the get route was accidentally removed

This commit is contained in:
Girish Ramakrishnan
2025-07-25 11:49:13 +02:00
parent 3f07bb5c3a
commit 59aaabecc7
7 changed files with 30 additions and 18 deletions
+1 -1
View File
@@ -2821,7 +2821,7 @@ async function updateBackup(app, backupId, data) {
if (!backup) throw new BoxError(BoxError.NOT_FOUND, 'Backup not found');
if (backup.identifier !== app.id) throw new BoxError(BoxError.NOT_FOUND, 'Backup not found'); // some other app's backup
await backups.update(backupId, data);
await backups.update(backup, data);
}
async function getBackupDownloadStream(app, backupId) {