pass filename (it is not part of the config!)

This commit is contained in:
Girish Ramakrishnan
2016-03-31 09:53:56 -07:00
parent fc11484b51
commit 3ea2070cdb
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ function getRestoreUrl(backupId, callback) {
if (error) return callback(new BackupsError(BackupsError.INTERNAL_ERROR, error));
var backupConfig = result.config;
api(backupConfig.provider).getSignedDownloadUrl(apiConfig, backupConfig, function (error, result) {
api(backupConfig.provider).getSignedDownloadUrl(apiConfig, backupConfig, backupId, function (error, result) {
if (error) return callback(error);
var obj = {