remove the log PUT endpoint, no longer needed

This commit is contained in:
Josh Kalderimis 2013-10-05 19:10:09 +02:00
parent 6f72b2cb6b
commit 8ccf48fa2a

View File

@ -8,14 +8,6 @@ class Travis::Api::App
get '/:id' do |id|
respond_with service(:find_log, params)
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