mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 05:23:03 +12:00
chore: proper case clause syntax
This commit is contained in:
parent
e81028170d
commit
202c3344dc
1 changed files with 11 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue