Limit API to only return 1 build
This commit is contained in:
parent
064e2b426e
commit
29229af50f
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ export async function getProjects() {
|
|||
|
||||
export async function getProjectRecentBuilds(user, repo) {
|
||||
const CIToken = await token.get();
|
||||
const url = endpoints.get('PROJECT_RECENTS').param({ user, repo });
|
||||
const url = endpoints.get('PROJECT_RECENTS').param({ user, repo }).query({ limit: 1});
|
||||
return await request(
|
||||
url,
|
||||
GET,
|
||||
|
|
Reference in a new issue