fix: pattern match error in managed relationships

closes #986
This commit is contained in:
Zach Daniel 2024-04-07 05:16:32 -04:00
parent 98d7ee759f
commit ea463402a2

View file

@ -1153,7 +1153,7 @@ defmodule Ash.Actions.ManagedRelationships do
created =
if is_struct(input, relationship.destination) do
{:ok, input, [], [input]}
{:ok, input, []}
else
regular_params =
Map.take(