set limit in branch query to 100
This commit is contained in:
parent
f9ac2e6a76
commit
7f57466484
|
@ -12,7 +12,7 @@ Route = TravisRoute.extend
|
||||||
if @get('auth.signedIn')
|
if @get('auth.signedIn')
|
||||||
options.headers = { Authorization: "token #{@auth.token()}" }
|
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
|
response.branches
|
||||||
|
|
||||||
activate: () ->
|
activate: () ->
|
||||||
|
|
Loading…
Reference in New Issue
Block a user