From f27b162b306c2725fcc2f4dc2af825d31974b5b6 Mon Sep 17 00:00:00 2001 From: Luke Imhoff Date: Wed, 6 Jun 2018 14:25:02 -0500 Subject: [PATCH] params_options should accept a [map], not a map --- apps/explorer/lib/explorer/chain.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/explorer/lib/explorer/chain.ex b/apps/explorer/lib/explorer/chain.ex index ac6e835c54..48da1b809d 100644 --- a/apps/explorer/lib/explorer/chain.ex +++ b/apps/explorer/lib/explorer/chain.ex @@ -52,7 +52,7 @@ defmodule Explorer.Chain do @typep on_conflict_option :: {:on_conflict, :nothing | :replace_all} @typep pagination_option :: {:pagination, pagination} @typep paging_options :: {:paging_options, PagingOptions.t()} - @typep params_option :: {:params, map()} + @typep params_option :: {:params, [map()]} @typep timeout_option :: {:timeout, timeout} @typep timestamps :: %{inserted_at: DateTime.t(), updated_at: DateTime.t()} @typep timestamps_option :: {:timestamps, timestamps}