about summary refs log tree commit diff
path: root/app/controllers/api
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-10 17:40:28 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-10 17:40:28 +0200
commitf49ed8c819f8d5e171b4a93f92a60936c0f3d93f (patch)
tree7fba2f159920d9563ba5c30c6cab86595933533d /app/controllers/api
parent38ce960ff91b63044073cfe26bf79dbc360842d6 (diff)
Log incoming Atom from PuSH
Diffstat (limited to 'app/controllers/api')
-rw-r--r--app/controllers/api/subscriptions_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/api/subscriptions_controller.rb b/app/controllers/api/subscriptions_controller.rb
index c3aeee94d..b51593721 100644
--- a/app/controllers/api/subscriptions_controller.rb
+++ b/app/controllers/api/subscriptions_controller.rb
@@ -15,6 +15,8 @@ class Api::SubscriptionsController < ApiController
     body = request.body.read
     subscription = @account.subscription(api_subscription_url(@account.id))
 
+    Rails.logger.debug body
+
     if subscription.verify(body, request.headers['HTTP_X_HUB_SIGNATURE'])
       ProcessFeedService.new.call(body, @account)
       head 201