From 7ee90d9a9c0f64208f7e644585107c1252a0b72c Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 14 Jun 2016 10:11:38 -0700 Subject: [PATCH] send password is restore call --- cloudron.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cloudron.js b/cloudron.js index 899812c..9e5ee49 100644 --- a/cloudron.js +++ b/cloudron.js @@ -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')