diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-08-02 12:03:45 +0200 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-08-02 12:03:45 +0200 |
commit | 54af9e145a3311c25dd335b0991d74773f5cbd0d (patch) | |
tree | 21dafe43e54dbcd69bce4f947be0265918967f04 /lib | |
parent | 25c733f4022f171a69cff9badfa8d625a3ad5b6b (diff) | |
download | pleroma-54af9e145a3311c25dd335b0991d74773f5cbd0d.tar.gz |
Add some debug info to websub.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/websub/websub_controller.ex | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pleroma/web/websub/websub_controller.ex b/lib/pleroma/web/websub/websub_controller.ex index 188144a88..6c9164ec8 100644 --- a/lib/pleroma/web/websub/websub_controller.ex +++ b/lib/pleroma/web/websub/websub_controller.ex @@ -20,6 +20,8 @@ defmodule Pleroma.Web.Websub.WebsubController do # TODO: Extract this into the Websub module def websub_subscription_confirmation(conn, %{"id" => id, "hub.mode" => "subscribe", "hub.challenge" => challenge, "hub.topic" => topic} = params) do + Logger.debug("Got websub confirmation") + Logger.debug(inspect(params)) lease_seconds = if params["hub.lease_seconds"] do String.to_integer(params["hub.lease_seconds"]) else |