logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: f49ed8c819f8d5e171b4a93f92a60936c0f3d93f
parent: 38ce960ff91b63044073cfe26bf79dbc360842d6
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Mon, 10 Oct 2016 17:40:28 +0200

Log incoming Atom from PuSH

Diffstat:

Mapp/controllers/api/subscriptions_controller.rb2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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