diff options
Diffstat (limited to 'app/workers/pubsubhubbub')
-rw-r--r-- | app/workers/pubsubhubbub/confirmation_worker.rb | 2 | ||||
-rw-r--r-- | app/workers/pubsubhubbub/subscribe_worker.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/pubsubhubbub/confirmation_worker.rb b/app/workers/pubsubhubbub/confirmation_worker.rb index 868fd9f97..b02dd3f55 100644 --- a/app/workers/pubsubhubbub/confirmation_worker.rb +++ b/app/workers/pubsubhubbub/confirmation_worker.rb @@ -25,7 +25,7 @@ class Pubsubhubbub::ConfirmationWorker body = response.body.to_s - Rails.logger.debug "Confirming PuSH subscription for #{subscription.callback_url} with challenge #{challenge}: #{body}" + logger.debug "Confirming PuSH subscription for #{subscription.callback_url} with challenge #{challenge}: #{body}" if mode == 'subscribe' && body == challenge subscription.save! diff --git a/app/workers/pubsubhubbub/subscribe_worker.rb b/app/workers/pubsubhubbub/subscribe_worker.rb index 0c4111a8c..5b0956b6b 100644 --- a/app/workers/pubsubhubbub/subscribe_worker.rb +++ b/app/workers/pubsubhubbub/subscribe_worker.rb @@ -7,7 +7,7 @@ class Pubsubhubbub::SubscribeWorker def perform(account_id) account = Account.find(account_id) - Rails.logger.debug "PuSH re-subscribing to #{account.acct}" + logger.debug "PuSH re-subscribing to #{account.acct}" ::SubscribeService.new.call(account) end end |