Skip to content

Commit 4ecac6a

Browse files
authored
Merge pull request #140 from woylie/fix/warnings
fix warning in Elixir 1.19
2 parents 17b5c76 + ebe5ef0 commit 4ecac6a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/polymorphic_embed/html/helpers.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ if Code.ensure_loaded?(Phoenix.HTML) && Code.ensure_loaded?(Phoenix.HTML.Form) d
7373
|> Enum.map(fn {data, i} ->
7474
params = Enum.at(params, i) || %{}
7575

76-
changeset =
76+
%Ecto.Changeset{} =
77+
changeset =
7778
data
7879
|> Ecto.Changeset.change()
7980
|> apply_action(parent_action)

0 commit comments

Comments
 (0)