From 3432d6bc8004748da7a3024611bfe21a6c6f4a9f Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 7 Jun 2016 14:36:45 -0700 Subject: [PATCH] fix double declaration --- cloudron.js | 1 - 1 file changed, 1 deletion(-) diff --git a/cloudron.js b/cloudron.js index 5c76544..4712df2 100644 --- a/cloudron.js +++ b/cloudron.js @@ -223,7 +223,6 @@ Cloudron.prototype.uninstallApp = function (appId) { Cloudron.prototype.updateApp = function (appId, newManifest) { process.stdout.write('Trying to update'); - var res; var res = request.post(this._origin + '/api/v1/apps/' + appId + '/update').query({ access_token: this._credentials.accessToken }).send({ password: this._credentials.password, manifest: newManifest }).end(); common.verifyResponse2xx(res, 'Could not update');