Update persist_event.ex

This commit is contained in:
Zach Daniel 2024-06-18 21:39:26 -04:00 committed by GitHub
parent 5ec02c428a
commit 701221db64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,7 @@ defmodule AshEvents.PersistEvent do
input: input.params,
resource: input.resource,
action: opts[:action],
processed: true
processed: false
},
actor: Ash.Context.to_opts(context),
domain: input.domain
@ -30,7 +30,7 @@ defmodule AshEvents.PersistEvent do
input: input.params,
resource: input.resource,
action: opts[:action],
processed: false
processed: true
},
actor: Ash.Context.to_opts(context),
domain: input.domain