Explorar el Código

Add debugging logs.

tags/v0.9.9
Roger Braun hace 7 años
padre
commit
151da344be
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      lib/pleroma/web/websub/websub.ex

+ 1
- 0
lib/pleroma/web/websub/websub.ex Ver fichero

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


Cargando…
Cancelar
Guardar