chore: add context to bulk action calls

This commit is contained in:
Zach Daniel 2024-09-12 09:34:16 -04:00
parent 2f55f7a61b
commit b5a1df64f0

View file

@ -630,6 +630,7 @@ defmodule AshOban.Transformers.DefineSchedulers do
authorize?: authorize?,
actor: actor,
domain: unquote(domain),
context: %{private: %{ash_oban?: true}},
skip_unknown_inputs: [:metadata],
return_errors?: true,
notify?: true,
@ -643,6 +644,7 @@ defmodule AshOban.Transformers.DefineSchedulers do
authorize?: authorize?,
actor: actor,
domain: unquote(domain),
context: %{private: %{ash_oban?: true}},
skip_unknown_inputs: [:metadata],
return_errors?: true,
notify?: true