commit f150762ca5d8d175824a20b8980bff7a92b68f9c
parent e95ce996732720a7b53a6464e7fecda4a1c5aba9
Author: Alberto Lerda <albertolerda97@gmail.com>
Date: Tue, 25 Oct 2022 09:51:42 +0200
Zenflows.VF.Person: fix type spec
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/zenflows/vf/person/domain.ex b/src/zenflows/vf/person/domain.ex
@@ -54,7 +54,7 @@ def exists?(conds) do
where(Person, ^conds) |> Repo.exists?()
end
-@spec pubkey(Keyword.t()) :: {:ok, String.t()} | {:error, chgset()}
+@spec pubkey(Keyword.t()) :: {:ok, String.t()} | {:error, String.t()}
def pubkey(email) do
where(Person, email: ^email)
|> select([:eddsa_public_key]) |> Repo.one()