mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
fix: Set tenant correctly when reading many_to_many relationship. (#928)
This commit is contained in:
parent
d62faaa0a5
commit
096542f352
1 changed files with 2 additions and 1 deletions
|
@ -387,7 +387,8 @@ defmodule Ash.Actions.Read.Relationships do
|
|||
case Ash.Actions.Read.unpaginated_read(join_query, nil,
|
||||
authorize?: related_query.context[:private][:authorize?],
|
||||
actor: related_query.context[:private][:actor],
|
||||
tracer: related_query.context[:private][:tracer]
|
||||
tracer: related_query.context[:private][:tracer],
|
||||
tenant: related_query.tenant
|
||||
) do
|
||||
{:ok, join_records} ->
|
||||
{join_id_mapping, destination_ids} =
|
||||
|
|
Loading…
Reference in a new issue