From be0cc12aaae46080c11f97efce6b1e3a4c268c82 Mon Sep 17 00:00:00 2001 From: Adam Rutkowski Date: Thu, 26 Oct 2023 14:11:09 +0200 Subject: [PATCH] Fix typespecs --- lib/plausible/sites.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plausible/sites.ex b/lib/plausible/sites.ex index 78f261ad2..992c4909c 100644 --- a/lib/plausible/sites.ex +++ b/lib/plausible/sites.ex @@ -12,7 +12,7 @@ defmodule Plausible.Sites do Repo.get_by!(Site, domain: domain) end - @spec list(User.t(), map(), [list_opt()]) :: Paginator.Page.t() + @spec list(Plausible.Auth.User.t(), map(), [list_opt()]) :: Paginator.Page.t() def list(user, pagination_params, opts \\ []) do exclude_ids = Keyword.get(opts, :exclude_ids, []) domain_filter = Keyword.get(opts, :filter_by_domain)