mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
fix: set_tenant on fully atomic changesets
This commit is contained in:
parent
7bb3addb38
commit
89a8f59e18
1 changed files with 1 additions and 0 deletions
|
@ -515,6 +515,7 @@ defmodule Ash.Changeset do
|
|||
|> Map.put(:action, action)
|
||||
|> Map.put(:action_type, action.type)
|
||||
|> Map.put(:atomics, opts[:atomics] || [])
|
||||
|> Ash.Changeset.set_tenant(opts[:tenant])
|
||||
|
||||
{changeset, _opts} =
|
||||
Ash.Actions.Helpers.add_process_context(
|
||||
|
|
Loading…
Reference in a new issue