actually send portBindings

This commit is contained in:
Girish Ramakrishnan 2016-05-05 16:08:02 -07:00
parent 4edb056e88
commit 64b884eeef

View File

@ -166,7 +166,7 @@ Cloudron.prototype.installApp = function (location, manifest, portBindings) {
var res = request.post(this._origin + '/api/v1/apps/install')
.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();
common.verifyResponse2xx(res, 'Cannot install app');
debug('App installed at %s'.green, location);