diff --git a/cloudron.js b/cloudron.js index cc8a773..e3717f8 100644 --- a/cloudron.js +++ b/cloudron.js @@ -800,7 +800,10 @@ Cloudron.prototype.checkNginxRateLimit = function (owner, times, 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'); };