remove the log PUT endpoint, no longer needed
This commit is contained in:
parent
6f72b2cb6b
commit
8ccf48fa2a
|
@ -8,14 +8,6 @@ class Travis::Api::App
|
||||||
get '/:id' do |id|
|
get '/:id' do |id|
|
||||||
respond_with service(:find_log, params)
|
respond_with service(:find_log, params)
|
||||||
end
|
end
|
||||||
|
|
||||||
put '/:id' do |id|
|
|
||||||
# TODO @rkh ... rather lost in the auth/scopes code.
|
|
||||||
token = env['HTTP_TOKEN']
|
|
||||||
halt 403, 'no token' unless token
|
|
||||||
halt 403, 'internal' unless token == Travis.config.tokens.internal
|
|
||||||
respond_with service(:update_log, params)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user