lib/stealth/services/facebook/message_handler.rb in stealth-facebook-0.13.0 vs lib/stealth/services/facebook/message_handler.rb in stealth-facebook-0.13.1
- old
+ new
@@ -22,10 +22,14 @@
if facebook_is_validating_webhook?
respond_with_validation
else
# Queue the request processing so we can respond quickly to FB
# and also keep track of this message
- Stealth::Services::HandleMessageJob.perform_async('facebook', params, {})
+ Stealth::Services::HandleMessageJob.perform_async(
+ 'facebook',
+ params,
+ headers
+ )
# Relay our acceptance
[200, 'OK']
end
end