Remove backup list from backup targets view
This commit is contained in:
@@ -20,8 +20,8 @@ function create() {
|
||||
if (error || result.status !== 200) return [error || result];
|
||||
return [null, result.body.backupTargets];
|
||||
},
|
||||
async add(label, format, provider, config, schedule, retention, limits = null, encryptionPassword = null, encryptedFilenames = null) {
|
||||
const data = { label, format, provider, config, schedule, retention };
|
||||
async add(name, format, provider, config, schedule, retention, limits = null, encryptionPassword = null, encryptedFilenames = null) {
|
||||
const data = { name, format, provider, config, schedule, retention };
|
||||
|
||||
if (limits !== null) data.limits = limits;
|
||||
if (encryptionPassword !== null) data.encryptionPassword = encryptionPassword;
|
||||
|
||||
Reference in New Issue
Block a user