Skip to content

Commit f266c05

Browse files
authored
Merge pull request #56 from drapergeek/master
Replace deprecated `Dict.take/2` with `Map.take/2`
2 parents f9cc573 + fbf0b62 commit f266c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/arc_ecto/schema.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ defmodule Arc.Ecto.Schema do
3131
%{} ->
3232
params
3333
|> Arc.Ecto.Schema.convert_params_to_binary
34-
|> Dict.take(allowed)
34+
|> Map.take(allowed)
3535
|> Enum.reduce([], fn
3636
# Don't wrap nil casts in the scope object
3737
{field, nil}, fields -> [{field, nil} | fields]

0 commit comments

Comments
 (0)