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:
parent
09d705a1d0
commit
2043c98717
1 changed files with 2 additions and 1 deletions
|
@ -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 """
|
||||
|
|
Loading…
Reference in a new issue