Skip to content

Commit

Permalink
fixed example return value
Browse files Browse the repository at this point in the history
  • Loading branch information
lsxliron committed Apr 19, 2024
1 parent 69ecfdc commit 4941c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gnat/jetstream/api/kv.ex
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ defmodule Gnat.Jetstream.API.KV do
iex> is_delete_operation?([{"kv-operation", "PURGE"}])
true
iex> is_delete_operation?([{"kv-operation", "ADD"}])
true
false
"""
@spec is_delete_operation?(headers :: Gnat.headers()) :: boolean()
def is_delete_operation?(headers) do
Expand Down

0 comments on commit 4941c5b

Please sign in to comment.