1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-23 00:14:48 +00:00

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
@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)
@doc """