Fix tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
1e9563b348
commit
1ff4e62823
@ -91,7 +91,8 @@ defmodule Mobilizon.Service.WebFinger do
|
|||||||
|
|
||||||
Logger.debug(inspect(address))
|
Logger.debug(inspect(address))
|
||||||
|
|
||||||
with {:ok, %HTTPoison.Response{} = response} <-
|
with false <- is_nil(domain),
|
||||||
|
{:ok, %HTTPoison.Response{} = response} <-
|
||||||
HTTPoison.get(
|
HTTPoison.get(
|
||||||
address,
|
address,
|
||||||
[Accept: "application/json, application/activity+json, application/jrd+json"],
|
[Accept: "application/json, application/activity+json, application/jrd+json"],
|
||||||
|
Loading…
Reference in New Issue
Block a user