Skip to content

Commit

Permalink
Return :ok from ack_event
Browse files Browse the repository at this point in the history
  • Loading branch information
slashdotdash committed Oct 30, 2017
1 parent 1d528ab commit b951dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/event_store_adapter.ex
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ defmodule Commanded.EventStore.Adapters.EventStore do
EventStore.subscribe_to_all_streams(subscription_name, subscriber, start_from: start_from, mapper: &from_recorded_event/1)
end

@spec ack_event(pid, RecordedEvent.t) :: any
@spec ack_event(pid, RecordedEvent.t) :: :ok
def ack_event(subscription, %RecordedEvent{event_number: event_number}) do
EventStore.ack(subscription, event_number)
end
Expand Down

0 comments on commit b951dc8

Please sign in to comment.