projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97257c6
)
Add debugging logs.
author
Roger Braun
<roger@rogerbraun.net>
Thu, 4 May 2017 07:54:22 +0000
(09:54 +0200)
committer
Roger Braun
<roger@rogerbraun.net>
Thu, 4 May 2017 07:54:22 +0000
(09:54 +0200)
lib/pleroma/web/websub/websub.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/websub/websub.ex
b/lib/pleroma/web/websub/websub.ex
index 0d0d19c889cd4e1ba66106a2463f3eb37c07c4d5..c1532b6ce4393123e4765a747ec1e23219d0e41a 100644
(file)
--- a/
lib/pleroma/web/websub/websub.ex
+++ b/
lib/pleroma/web/websub/websub.ex
@@
-44,6
+44,7
@@
defmodule Pleroma.Web.Websub do
|> to_string
signature = sign(sub.secret, response)
+ Logger.debug("Pushing to #{sub.callback}")
HTTPoison.post(sub.callback, response, [
{"Content-Type", "application/atom+xml"},
{"X-Hub-Signature", "sha1=#{signature}"}