From 76f13b62a47e2ddc1e4596333c4ed2b4d59af026 Mon Sep 17 00:00:00 2001 From: Ayush Kumar Sinha Date: Sat, 6 Jul 2019 21:14:03 +0530 Subject: [PATCH] api call modifs --- app.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index a3b03fa..617a97d 100644 --- a/app.js +++ b/app.js @@ -160,7 +160,7 @@ app.get('/api/buildsets', (req, res) => { function buildReq() { var buildReq = { uri: - 'https://build.reactos.org/api/v2/buildrequests?field=buildsetid&field=buildrequestid', + 'https://build.reactos.org/api/v2/buildrequests?field=buildsetid&field=buildrequestid&order=-buildsetid&offset=0&limit=50', headers: { 'User-Agent': 'Request-Promise' }, @@ -184,7 +184,8 @@ app.get('/api/buildreq', (req, res) => { function builds() { var builds = { - uri: 'https://build.reactos.org/api/v2/builds', + uri: + 'https://build.reactos.org/api/v2/builds?order=-buildrequestid&offset=0&limit=70', headers: { 'User-Agent': 'Request-Promise' },