There is no result

This commit is contained in:
Johannes Zellner
2016-10-10 15:54:16 +02:00
parent acc644160a
commit c129328828
+2 -2
View File
@@ -477,12 +477,12 @@ function removeBackup(backupId, appBackupIds, callback) {
settings.getBackupConfig(function (error, backupConfig) {
if (error) return callback(new BackupsError(BackupsError.INTERNAL_ERROR, error));
api(backupConfig.provider).removeBackup(backupConfig, backupId, appBackupIds, function (error, result) {
api(backupConfig.provider).removeBackup(backupConfig, backupId, appBackupIds, function (error) {
if (error) return callback(error);
debug('removeBackup: %s done', backupId);
callback(null, result.filePath);
callback(null);
});
});
}