fix double declaration

This commit is contained in:
Girish Ramakrishnan 2016-06-07 14:36:45 -07:00
parent 2d4dd7b55e
commit 3432d6bc80

View File

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