From d82fefeeb09d69b77887ad1f3be5197fb260092b Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 28 Nov 2018 15:00:15 +0100 Subject: [PATCH] Fix tests Signed-off-by: Thomas Citharel --- lib/service/web_finger/web_finger.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/service/web_finger/web_finger.ex b/lib/service/web_finger/web_finger.ex index fdd561bf1..dac45dba8 100644 --- a/lib/service/web_finger/web_finger.ex +++ b/lib/service/web_finger/web_finger.ex @@ -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 ->