Skip to content

Commit

Permalink
Merge pull request #94 from mpugach/explicit_cast
Browse files Browse the repository at this point in the history
call cast on Ecto.Changeset explicitly
  • Loading branch information
stavro authored May 19, 2019
2 parents 68c033e + 0ad76aa commit 1623e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/arc_ecto/schema.ex
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ defmodule Arc.Ecto.Schema do
|> Enum.into(%{})
end

cast(changeset_or_data, arc_params, allowed)
Ecto.Changeset.cast(changeset_or_data, arc_params, allowed)
end
end

Expand Down

0 comments on commit 1623e67

Please sign in to comment.