pagination does not make sense here

This commit is contained in:
Girish Ramakrishnan 2016-06-07 21:09:41 -07:00
parent 64fd830db1
commit 663a90a2b8

View File

@ -48,7 +48,7 @@ AppStore.prototype.getCloudrons = function () {
};
AppStore.prototype.getCloudron = function (boxId) {
var res = request.get(this._origin + '/api/v1/cloudrons/' + boxId).query({ accessToken: this._credentials.accessToken, page: 1, per_page: 50 }).end();
var res = request.get(this._origin + '/api/v1/cloudrons/' + boxId).query({ accessToken: this._credentials.accessToken }).end();
if (res.statusCode === 404) return null;
common.verifyResponse2xx(res, 'Could not query cloudron status');
return res.body.box;