Remove unnecessary pipe operator

pull/556/head
jimmay5469 6 years ago committed by Stamates
parent 4acabc4219
commit a06e8b8304
  1. 2
      apps/block_scout_web/lib/block_scout_web/notifier.ex

@ -32,7 +32,7 @@ defmodule BlockScoutWeb.Notifier do
Endpoint.broadcast("exchange_rate:new_rate", "new_rate", %{ Endpoint.broadcast("exchange_rate:new_rate", "new_rate", %{
exchange_rate: exchange_rate, exchange_rate: exchange_rate,
market_history_data: market_history_data |> Enum.map(fn day -> Map.take(day, [:closing_price, :date]) end) market_history_data: Enum.map(market_history_data, fn day -> Map.take(day, [:closing_price, :date]) end)
}) })
end end

Loading…
Cancel
Save