Add hack for broken app backup tarballs

This commit is contained in:
Girish Ramakrishnan
2015-08-31 18:48:26 -07:00
parent ba690c6346
commit 712ada940e
2 changed files with 2 additions and 1 deletions

View File

@@ -94,7 +94,7 @@ function getRestoreUrl(backupId, callback) {
id: backupId,
url: result.url,
sessionToken: result.sessionToken,
backupKey: config.backupKey()
backupKey: config.get('restoredFromUrl') && config.get('restoredFromUrl').indexOf('v0.0.39') > 0 ? '' : config.backupKey()
};
debug('getRestoreUrl: ', obj);