Commit 151da344 authored by lain's avatar lain
Browse files

Add debugging logs.

parent 97257c69
......@@ -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}"}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment