chore: proper case clause syntax

This commit is contained in:
Zach Daniel 2021-08-03 00:34:26 -04:00
parent e81028170d
commit 202c3344dc

View file

@ -100,6 +100,17 @@ defmodule Ash.Actions.ManagedRelationships do
case match do
nil ->
case opts[:on_lookup] do
_ when is_nil(input) ->
create_belongs_to_record(
changeset,
instructions,
relationship,
input,
actor,
index,
opts
)
:ignore ->
create_belongs_to_record(
changeset,