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');