fix(typespec): Fix missing return type in typespec

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-04-21 14:28:33 +02:00
parent 09d705a1d0
commit 2043c98717
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -102,7 +102,8 @@ defmodule Mobilizon.Federation.ActivityPub.Actor do
end end
@spec find_or_make_group_from_nickname(nick :: String.t()) :: @spec find_or_make_group_from_nickname(nick :: String.t()) ::
{:error, make_actor_errors | WebFinger.finger_errors()} {:ok, Mobilizon.Actors.Actor.t()}
| {:error, make_actor_errors | WebFinger.finger_errors()}
def find_or_make_group_from_nickname(nick), do: find_or_make_actor_from_nickname(nick, :Group) def find_or_make_group_from_nickname(nick), do: find_or_make_actor_from_nickname(nick, :Group)
@doc """ @doc """