Sfoglia il codice sorgente

Add debugging logs.

tags/v0.9.9
Roger Braun 7 anni fa
parent
commit
151da344be
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      lib/pleroma/web/websub/websub.ex

+ 1
- 0
lib/pleroma/web/websub/websub.ex Vedi File

@@ -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}"}


Loading…
Annulla
Salva