mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
fix: ensure create functions generated by code_interface accept tenant in the opts list (#243)
This commit is contained in:
parent
59095bbf2f
commit
42895c50f7
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ defmodule Ash.Api.Interface do
|
|||
Keyword.take(opts, [:actor, :tenant])
|
||||
)
|
||||
|
||||
unquote(api).create(changeset, opts)
|
||||
unquote(api).create(changeset, Keyword.drop(opts, [:query, :tenant]))
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue