Skip to content

Commit

Permalink
Remove unused line
Browse files Browse the repository at this point in the history
  • Loading branch information
fmterrorf committed Sep 20, 2024
1 parent e1281ff commit 40ad2fb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/projections/ecto.ex
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ defmodule Commanded.Projections.Ecto do
end

def update_projection_batch([{first_event, first_event_metadata} | _] = events, multi_fn) do
{first_event, first_event_metadata} = List.first(events)
%{event_number: first_event_number, handler_name: projection_name} = first_event_metadata

{_last_event, last_event_metadata} = List.last(events)
Expand Down

0 comments on commit 40ad2fb

Please sign in to comment.