send password is restore call

This commit is contained in:
Girish Ramakrishnan 2016-06-14 10:11:38 -07:00
parent 81ab1a0961
commit 7ee90d9a9c

View File

@ -264,7 +264,8 @@ Cloudron.prototype.restoreApp = function (appId, backup) {
process.stdout.write('Trying to restore to %j', backup);
var data = {
backupId: backup.id
backupId: backup.id,
password: this._credentials.password
};
var res = request.post(this._origin + '/api/v1/apps/' + appId + '/restore')