find_branch(es) expects parameter to be called repository_id
This commit is contained in:
parent
02feeeb0fe
commit
6f72b2cb6b
|
@ -51,12 +51,12 @@ class Travis::Api::App
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets list of branches
|
# Gets list of branches
|
||||||
get '/:id/branches' do
|
get '/:repository_id/branches' do
|
||||||
respond_with service(:find_branches, params), type: :branches, version: :v2
|
respond_with service(:find_branches, params), type: :branches, version: :v2
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets lastest build on a branch branches
|
# Gets lastest build on a branch branches
|
||||||
get '/:id/branches/:branch' do
|
get '/:repository_id/branches/:branch' do
|
||||||
respond_with service(:find_branch, params), type: :branch, version: :v2
|
respond_with service(:find_branch, params), type: :branch, version: :v2
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user