fix double declaration
This commit is contained in:
parent
2d4dd7b55e
commit
3432d6bc80
@ -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');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user