backups: remove limit object from storage config

this is causing UI to get confused
This commit is contained in:
Girish Ramakrishnan
2024-05-01 12:05:35 +02:00
parent a1bd1a0fa1
commit f1e8b91f61
2 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -238,7 +238,7 @@ async function setState(id, state) {
}
async function startBackupTask(auditSource) {
let error = locker.lock(locker.OP_FULL_BACKUP);
const error = locker.lock(locker.OP_FULL_BACKUP);
if (error) throw new BoxError(BoxError.BAD_STATE, `Cannot backup now: ${error.message}`);
const backupConfig = await getConfig();