mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-24 05:25:08 +01:00
Log incoming Atom from PuSH
This commit is contained in:
parent
38ce960ff9
commit
f49ed8c819
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user