actually send portBindings
This commit is contained in:
parent
4edb056e88
commit
64b884eeef
|
@ -166,7 +166,7 @@ Cloudron.prototype.installApp = function (location, manifest, portBindings) {
|
||||||
|
|
||||||
var res = request.post(this._origin + '/api/v1/apps/install')
|
var res = request.post(this._origin + '/api/v1/apps/install')
|
||||||
.query({ access_token: this._credentials.accessToken })
|
.query({ access_token: this._credentials.accessToken })
|
||||||
.send({ manifest: manifest, appStoreId: '', location: location, accessRestriction: null, oauthProxy: false, portBindings: null })
|
.send({ manifest: manifest, appStoreId: '', location: location, accessRestriction: null, oauthProxy: false, portBindings: portBindings })
|
||||||
.end();
|
.end();
|
||||||
common.verifyResponse2xx(res, 'Cannot install app');
|
common.verifyResponse2xx(res, 'Cannot install app');
|
||||||
debug('App installed at %s'.green, location);
|
debug('App installed at %s'.green, location);
|
||||||
|
|
Loading…
Reference in New Issue