From a06e8b8304c3e581dd766beb67f98346b6566209 Mon Sep 17 00:00:00 2001 From: jimmay5469 Date: Fri, 17 Aug 2018 14:17:15 -0400 Subject: [PATCH] Remove unnecessary pipe operator --- apps/block_scout_web/lib/block_scout_web/notifier.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/block_scout_web/lib/block_scout_web/notifier.ex b/apps/block_scout_web/lib/block_scout_web/notifier.ex index f38c68ae75..3e0ef9127e 100644 --- a/apps/block_scout_web/lib/block_scout_web/notifier.ex +++ b/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", %{ 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