about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-20 03:18:55 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-20 03:18:55 +0200
commit246330493b1e57c5423aeaa0990d3978f1739c42 (patch)
treec5e7d214c17d777bba4081cb3712f7861551186e /app
parenta66d34878c7353064e6d85f79485e5a52bb2d7c1 (diff)
More debugging for PuSH confirmations
Diffstat (limited to 'app')
-rw-r--r--app/controllers/api/subscriptions_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/subscriptions_controller.rb b/app/controllers/api/subscriptions_controller.rb
index 68cdef8cc..aa5cfbe5d 100644
--- a/app/controllers/api/subscriptions_controller.rb
+++ b/app/controllers/api/subscriptions_controller.rb
@@ -4,7 +4,7 @@ class Api::SubscriptionsController < ApiController
 
   def show
     if @account.subscription(api_subscription_url(@account.id)).valid?(params['hub.topic'])
-      Rails.logger.debug "PuSH confirmation with lease_seconds: #{params['hub.lease_seconds']}"
+      Rails.logger.debug "PuSH confirmation: #{params.inspect}"
       @account.update(subscription_expires_at: Time.now + (params['hub.lease_seconds'].to_i).seconds)
       render plain: HTMLEntities.new.encode(params['hub.challenge']), status: 200
     else