fix: solves 3 compilation warnings, closes #1774
- group function variations together - merge doc of all function variations at the top
This commit is contained in:
@@ -47,7 +47,10 @@ defmodule Mobilizon.GraphQL.Resolvers.FeedToken do
|
|||||||
end
|
end
|
||||||
|
|
||||||
@doc """
|
@doc """
|
||||||
Retrieve a feed token for actor, if user is admin
|
Retrieve a feed token for actor,
|
||||||
|
if actor belongs to logged user
|
||||||
|
or if user is admin
|
||||||
|
else error
|
||||||
"""
|
"""
|
||||||
@spec actor_tokens(any, map, map) :: {:ok, map} | {:error, String.t()}
|
@spec actor_tokens(any, map, map) :: {:ok, map} | {:error, String.t()}
|
||||||
def actor_tokens(
|
def actor_tokens(
|
||||||
|
|||||||
Reference in New Issue
Block a user