Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
zemuldo committed Oct 29, 2023
1 parent 411f1f0 commit 10e3055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ex_secrets.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 10e3055

Please sign in to comment.