LRDD, you are special and we love you too

This commit is contained in:
Mark Felder 2018-03-19 18:05:53 +00:00
parent 2702df489f
commit 96cfc67e05

View File

@ -100,7 +100,7 @@ defmodule Pleroma.Web.WebFinger do
with {:ok, %{body: body}} <- @httpoison.get("https://#{domain}/.well-known/host-meta", []) do with {:ok, %{body: body}} <- @httpoison.get("https://#{domain}/.well-known/host-meta", []) do
get_template_from_xml(body) get_template_from_xml(body)
else else
e -> {:error, "Can't find lrdd template: #{inspect(e)}"} e -> {:error, "Can't find LRDD template: #{inspect(e)}"}
end end
end end
end end