mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
fix: fix dialyzer
This commit is contained in:
parent
3a6d79e1c6
commit
5d3235dbf9
1 changed files with 1 additions and 4 deletions
|
@ -484,9 +484,6 @@ defmodule Ash.Actions.Create.Bulk do
|
|||
changeset ->
|
||||
changes[index] == :all or
|
||||
changeset.context.bulk_create.index in List.wrap(changes[index])
|
||||
|
||||
_ ->
|
||||
false
|
||||
end)
|
||||
|
||||
before_batch_results =
|
||||
|
@ -1019,7 +1016,7 @@ defmodule Ash.Actions.Create.Bulk do
|
|||
changeset.context
|
||||
)
|
||||
|
||||
module.change(changeset, change_opts, Map.merge(context, :bulk?, true))
|
||||
module.change(changeset, change_opts, Map.put(context, :bulk?, true))
|
||||
end)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue