diff options
-rw-r--r-- | app/controllers/api/subscriptions_controller.rb | 2 |
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 |