lib/fourchette/web/hooks.rb in fourchette-0.1.2 vs lib/fourchette/web/hooks.rb in fourchette-0.1.3
- old
+ new
@@ -1,5 +1,5 @@
post '/hooks' do
- params = JSON.parse(request.env["rack.input"].read)
+ params = JSON.parse(request.env['rack.input'].read)
Fourchette::PullRequest.new.async.perform(params)
- "Got it, thanks!"
-end
\ No newline at end of file
+ 'Got it, thanks!'
+end