From 606b3246da31755252a75aaab600b5c0569769e5 Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Wed, 8 May 2019 00:52:36 +0300 Subject: [PATCH] fix mix.credo test --- apps/block_scout_web/lib/block_scout_web/views/layout_view.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/block_scout_web/lib/block_scout_web/views/layout_view.ex b/apps/block_scout_web/lib/block_scout_web/views/layout_view.ex index ae68079897..7a454a0e72 100644 --- a/apps/block_scout_web/lib/block_scout_web/views/layout_view.ex +++ b/apps/block_scout_web/lib/block_scout_web/views/layout_view.ex @@ -2,6 +2,7 @@ defmodule BlockScoutWeb.LayoutView do use BlockScoutWeb, :view alias Plug.Conn + alias Poison.Parser @issue_url "https://github.com/poanetwork/blockscout/issues/new" @default_other_networks [ @@ -158,7 +159,7 @@ defmodule BlockScoutWeb.LayoutView do if Application.get_env(:block_scout_web, :other_networks) do :block_scout_web |> Application.get_env(:other_networks) - |> Poison.Parser.parse!(%{keys: :atoms!}) + |> Parser.parse!(%{keys: :atoms!}) else @default_other_networks end