Skip to content

Commit

Permalink
Update sns.ex (#11)
Browse files Browse the repository at this point in the history
change from atom to map
  • Loading branch information
mauricionr authored May 28, 2024
1 parent 5037d99 commit 9659d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ex_aws_configurator/sns.ex
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ defmodule ExAwsConfigurator.SNS do
@doc """
Publish an message to a topic based on clan configuration
"""
@spec publish(atom, atom) :: {:ok, term} | {:error, term}
@spec publish(atom, map) :: {:ok, term} | {:error, term}
def publish(topic_name, message) when is_atom(topic_name) do
topic = ExAwsConfigurator.get_topic(topic_name)

Expand Down

0 comments on commit 9659d87

Please sign in to comment.