mirror of
https://github.com/plausible/analytics.git
synced 2024-12-23 01:22:15 +03:00
Fix up typespecs
This commit is contained in:
parent
d742125c69
commit
e99f61c91c
@ -43,7 +43,9 @@ defmodule Plausible.Funnels do
|
||||
|> Ecto.Changeset.apply_changes()
|
||||
end
|
||||
|
||||
@spec list(Plausible.Site.t()) :: [Funnel.t()]
|
||||
@spec list(Plausible.Site.t()) :: [
|
||||
%{name: String.t(), id: pos_integer(), steps_count: pos_integer()}
|
||||
]
|
||||
def list(%Plausible.Site{id: site_id}) do
|
||||
Repo.all(
|
||||
from f in Funnel,
|
||||
|
Loading…
Reference in New Issue
Block a user