set access_token
This commit is contained in:
parent
76860770f1
commit
a1b9b39263
@ -800,7 +800,10 @@ Cloudron.prototype.checkNginxRateLimit = function (owner, times, callback) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Cloudron.prototype.setAppstoreConfig = function (id, token, callback) {
|
Cloudron.prototype.setAppstoreConfig = function (id, token, callback) {
|
||||||
var res = request.post('https://' + this._adminFqdn + '/api/v1/settings/appstore_config').send({ userId: id, token: token }).end();
|
var res = request.post('https://' + this._adminFqdn + '/api/v1/settings/appstore_config')
|
||||||
|
.send({ userId: id, token: token })
|
||||||
|
.query({ access_token: this._credentials.accessToken })
|
||||||
|
.end();
|
||||||
common.verifyResponse2xx(res, 'Could not set appstore config');
|
common.verifyResponse2xx(res, 'Could not set appstore config');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user