Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
151da344
Commit
151da344
authored
May 04, 2017
by
lain
Browse files
Add debugging logs.
parent
97257c69
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/web/websub/websub.ex
View file @
151da344
...
...
@@ -44,6 +44,7 @@ def publish(topic, user, activity) 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
}
"
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment