backups: the get route was accidentally removed
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user