AP and WebFinger need love here

This commit is contained in:
Mark Felder 2018-03-19 17:56:49 +00:00
parent 8d561f952f
commit 9a858621d6

View file

@ -321,7 +321,7 @@ def make_user_from_nickname(nickname) do
with {:ok, %{"ap_id" => ap_id}} when not is_nil(ap_id) <- WebFinger.finger(nickname) do
make_user_from_ap_id(ap_id)
else
_e -> {:error, "No ap id in webfinger"}
_e -> {:error, "No AP id in WebFinger"}
end
end