Parcourir la source

Add debugging logs.

tags/v0.9.9
Roger Braun il y a 7 ans
Parent
révision
151da344be
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. +1
    -0
      lib/pleroma/web/websub/websub.ex

+ 1
- 0
lib/pleroma/web/websub/websub.ex Voir le fichier

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


Chargement…
Annuler
Enregistrer