fix warnings
This commit is contained in:
parent
2999a08e35
commit
89b3729afa
32 changed files with 203 additions and 183 deletions
|
|
@ -256,8 +256,7 @@ defmodule Pleroma.Web.WebFinger do
|
|||
with response <-
|
||||
@httpoison.get(
|
||||
address,
|
||||
[Accept: "application/xrd+xml,application/jrd+json"],
|
||||
follow_redirect: true
|
||||
Accept: "application/xrd+xml,application/jrd+json"
|
||||
),
|
||||
{:ok, %{status: status, body: body}} when status in 200..299 <- response do
|
||||
doc = XML.parse_document(body)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue