mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
fix: add actor
back to transaction metadata
This commit is contained in:
parent
2db5de0be7
commit
785af56002
2 changed files with 3 additions and 1 deletions
|
@ -330,6 +330,7 @@ defmodule Ash.Actions.Destroy do
|
|||
transaction_metadata: %{
|
||||
type: :destroy,
|
||||
metadata: %{
|
||||
actor: actor,
|
||||
record: changeset.data,
|
||||
resource: resource,
|
||||
action: action.name
|
||||
|
|
|
@ -465,7 +465,8 @@ defmodule Ash.Actions.Update do
|
|||
metadata: %{
|
||||
record: changeset.data,
|
||||
resource: resource,
|
||||
action: action.name
|
||||
action: action.name,
|
||||
actor: actor
|
||||
}
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue