make /key public again
This commit is contained in:
parent
6f8f02094f
commit
a62948b047
|
@ -20,7 +20,7 @@ class Travis::Api::App
|
||||||
respond_with service(:find_repo, params.merge(schema: 'cc'))
|
respond_with service(:find_repo, params.merge(schema: 'cc'))
|
||||||
end
|
end
|
||||||
|
|
||||||
get '/:id/key', scope: :private do
|
get '/:id/key' do
|
||||||
respond_with service(:find_repo_key, params), version: :v2
|
respond_with service(:find_repo_key, params), version: :v2
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ class Travis::Api::App
|
||||||
respond_with service(:find_repo, params.merge(schema: 'cc'))
|
respond_with service(:find_repo, params.merge(schema: 'cc'))
|
||||||
end
|
end
|
||||||
|
|
||||||
get '/:owner_name/:name/key', scope: :private do
|
get '/:owner_name/:name/key' do
|
||||||
respond_with service(:find_repo_key, params), version: :v2
|
respond_with service(:find_repo_key, params), version: :v2
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user