pagination does not make sense here
This commit is contained in:
parent
64fd830db1
commit
663a90a2b8
|
@ -48,7 +48,7 @@ AppStore.prototype.getCloudrons = function () {
|
||||||
};
|
};
|
||||||
|
|
||||||
AppStore.prototype.getCloudron = function (boxId) {
|
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;
|
if (res.statusCode === 404) return null;
|
||||||
common.verifyResponse2xx(res, 'Could not query cloudron status');
|
common.verifyResponse2xx(res, 'Could not query cloudron status');
|
||||||
return res.body.box;
|
return res.body.box;
|
||||||
|
|
Loading…
Reference in New Issue