Skip to content

Commit

Permalink
ignore unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmries committed Apr 25, 2024
1 parent 60526cb commit 9d22d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gnat/jetstream/jetstream.ex
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Acknowledges the message was handled and requests delivery of the next message t
subject. Only applies to Pull-mode.
"""
@spec ack_next(message :: Gnat.message(), consumer_subject :: binary()) :: :ok
def ack_next(%{reply_to: nil}, consumer_subject) do
def ack_next(%{reply_to: nil}, _consumer_subject) do
{:error, "Cannot ack message with no reply-to"}
end

Expand Down

0 comments on commit 9d22d8e

Please sign in to comment.