From 7f57466484e4a80898bdbc38281121a41fd9b169 Mon Sep 17 00:00:00 2001 From: Lisa P Date: Fri, 9 Oct 2015 14:52:09 +0200 Subject: [PATCH] set limit in branch query to 100 --- app/routes/branches.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/branches.coffee b/app/routes/branches.coffee index 164cf6eb..45c75b41 100644 --- a/app/routes/branches.coffee +++ b/app/routes/branches.coffee @@ -12,7 +12,7 @@ Route = TravisRoute.extend if @get('auth.signedIn') options.headers = { Authorization: "token #{@auth.token()}" } - $.ajax("#{apiEndpoint}/v3/repo/#{repoId}/branches?include=build.commit", options).then (response) -> + $.ajax("#{apiEndpoint}/v3/repo/#{repoId}/branches?include=build.commit&limit=100", options).then (response) -> response.branches activate: () ->