no callback needed

This commit is contained in:
Girish Ramakrishnan 2017-04-15 09:20:47 -07:00
parent a1b9b39263
commit 5c2f3394a1

View File

@ -799,7 +799,7 @@ Cloudron.prototype.checkNginxRateLimit = function (owner, times, callback) {
}); });
}; };
Cloudron.prototype.setAppstoreConfig = function (id, token, callback) { Cloudron.prototype.setAppstoreConfig = function (id, token) {
var res = request.post('https://' + this._adminFqdn + '/api/v1/settings/appstore_config') var res = request.post('https://' + this._adminFqdn + '/api/v1/settings/appstore_config')
.send({ userId: id, token: token }) .send({ userId: id, token: token })
.query({ access_token: this._credentials.accessToken }) .query({ access_token: this._credentials.accessToken })