Fix tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
2cb641be79
commit
d82fefeeb0
@ -38,7 +38,7 @@ defmodule Mobilizon.Service.WebFinger do
|
||||
{:ok, represent_actor(actor, "JSON")}
|
||||
else
|
||||
_e ->
|
||||
with %Actor{} = actor when not is_nil(actor) <- Actors.get_actor_by_url(resource) do
|
||||
with {:ok, %Actor{} = actor} when not is_nil(actor) <- Actors.get_actor_by_url(resource) do
|
||||
{:ok, represent_actor(actor, "JSON")}
|
||||
else
|
||||
_e ->
|
||||
|
Loading…
Reference in New Issue
Block a user