Skip to content

Commit

Permalink
update deactivate version to use map
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Feb 28, 2024
1 parent 048d508 commit b67434a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/polar/streams/version/manager.ex
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ defmodule Polar.Streams.Version.Manager do
order_by: [desc: :inserted_at]
)
|> Repo.all()
|> Enum.each(fn v ->
|> Enum.map(fn v ->
Eventful.Transit.perform(v, bot, "deactivate")
end)
end
Expand Down

0 comments on commit b67434a

Please sign in to comment.