From 10e3055cc0c218878dd175cb7645c23112276d8c Mon Sep 17 00:00:00 2001 From: Zemuldo Date: Sun, 29 Oct 2023 10:02:52 +0300 Subject: [PATCH] fix type --- lib/ex_secrets.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ex_secrets.ex b/lib/ex_secrets.ex index 356af42..ed284a1 100644 --- a/lib/ex_secrets.ex +++ b/lib/ex_secrets.ex @@ -134,7 +134,7 @@ defmodule ExSecrets do Calling this function requires the provider to be configured with credentials that allow create secrets like Secret Admionistrator in Azure Key Vault. """ - @spec set(Atom.t(), String.t(), String.t()) :: :ok | :error + @spec set(atom(), String.t(), String.t()) :: :ok | :error def set(provider, key, value) do with provider when is_atom(provider) <- Resolver.call(provider), :ok <- Kernel.apply(provider, :set, [key, value]) do