Refactor Mobilizon.Federation.ActivityPub and add typespecs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -8,6 +8,7 @@ defmodule Mobilizon.GraphQL.Resolvers.Statistics do
|
||||
@doc """
|
||||
Gets config.
|
||||
"""
|
||||
@spec get_statistics(any(), any(), any()) :: {:ok, map()}
|
||||
def get_statistics(_parent, _params, _context) do
|
||||
{:ok,
|
||||
%{
|
||||
|
||||
Reference in New Issue
Block a user