chore: fix remove after_transaction hooks after processing them

This commit is contained in:
Zach Daniel 2024-05-01 20:29:58 -04:00
parent bb22724ef9
commit 0273b7d949

View file

@ -3272,7 +3272,7 @@ defmodule Ash.Changeset do
) )
|> case do |> case do
{:ok, new_result} -> {:ok, new_result} ->
{:ok, new_result} {:ok, %{new_result | after_transaction: []}}
{:error, error} -> {:error, error} ->
{:error, error} {:error, error}