Add typespec for category_statistics
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
e94a537f30
commit
b514d417c0
|
@ -1674,6 +1674,7 @@ defmodule Mobilizon.Events do
|
|||
|> Repo.all()
|
||||
end
|
||||
|
||||
@spec category_statistics :: [{String.t(), non_neg_integer()}]
|
||||
def category_statistics do
|
||||
Event
|
||||
|> filter_future_events(true)
|
||||
|
|
Loading…
Reference in a new issue