-
Vitali Tatarintev authored
Fetch payload body from `params[:notification]` instead of slicing out service params such as controller, and action names. If the "Content-Type" header of your request is set to "application/json", Rails will automatically load your parameters into the params hash, which you can access as you would normally. https://guides.rubyonrails.org/v5.2/ action_controller_overview.html#json-parameters
d70c5dc7