fix: set_tenant on fully atomic changesets

This commit is contained in:
Zach Daniel 2024-02-03 14:55:59 -05:00
parent 7bb3addb38
commit 89a8f59e18

View file

@ -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(