Update apps/block_scout_web/lib/block_scout_web/controllers/address_transaction_controller.ex

Co-authored-by: Maxim Filonov <53992153+sl1depengwyn@users.noreply.github.com>
pull/7416/head
bretep 2 years ago
parent d4e5e5f741
commit b76151a2cd
  1. 18
      apps/block_scout_web/lib/block_scout_web/controllers/address_transaction_controller.ex

@ -267,23 +267,7 @@ defmodule BlockScoutWeb.AddressTransactionController do
AddressTokenTransferCsvExporter AddressTokenTransferCsvExporter
) )
end end
def transactions_csv(conn, %{
"address_id" => address_hash_string,
"from_period" => from_period,
"to_period" => to_period
}) do
items_csv(
conn,
%{
"address_id" => address_hash_string,
"from_period" => from_period,
"to_period" => to_period
},
AddressTransactionCsvExporter
)
end
def transactions_csv(conn, %{ def transactions_csv(conn, %{
"address_id" => address_hash_string, "address_id" => address_hash_string,
"from_period" => from_period, "from_period" => from_period,

Loading…
Cancel
Save