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()
|
|> Repo.all()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@spec category_statistics :: [{String.t(), non_neg_integer()}]
|
||||||
def category_statistics do
|
def category_statistics do
|
||||||
Event
|
Event
|
||||||
|> filter_future_events(true)
|
|> filter_future_events(true)
|
||||||
|
Loading…
Reference in New Issue
Block a user