app/controllers/chargify/hooks_controller.rb in chargify-loops-0.1.0 vs app/controllers/chargify/hooks_controller.rb in chargify-loops-0.2.0
- old
+ new
@@ -1,10 +1,10 @@
class Chargify::HooksController < ActionController::Base
before_filter :verify_signature
def create
Chargify::Loops.delegate_hook params[:event].to_sym,
- params[:payload].symbolize_keys
+ params[:payload].stringify_keys!
head :ok
end
private