mirror of
https://github.com/ash-project/ash_phoenix.git
synced 2024-09-20 07:12:49 +12:00
fix: use proper input params for embeds
This commit is contained in:
parent
fbaf4c8ece
commit
2874070ff8
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ defmodule AshPhoenix.FormData.Helpers do
|
|||
if is_struct(data) do
|
||||
Ash.Changeset.for_update(data, update_action, params(data), actor: opts[:actor])
|
||||
else
|
||||
Ash.Changeset.for_create(resource, create_action, params(data), actor: opts[:actor])
|
||||
Ash.Changeset.for_create(resource, create_action, data, actor: opts[:actor])
|
||||
end
|
||||
end)
|
||||
|
||||
|
|
Loading…
Reference in a new issue