mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
fix: ensure add_tenant/1 checks the correctkey (#601)
This commit is contained in:
parent
3b2b50d0e5
commit
45dc97cdb4
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ defmodule Ash.Flow do
|
||||||
end
|
end
|
||||||
|
|
||||||
defp add_tenant(opts) do
|
defp add_tenant(opts) do
|
||||||
if Keyword.has_key?(opts, :actor) do
|
if Keyword.has_key?(opts, :tenant) do
|
||||||
opts
|
opts
|
||||||
else
|
else
|
||||||
case Process.get(:ash_tenant) do
|
case Process.get(:ash_tenant) do
|
||||||
|
|
Loading…
Reference in a new issue