mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 18:31:11 +08:00
DEV: Convert some files to autoloading and various improvements (#26860)
This commit is contained in:
@ -126,7 +126,7 @@ module DiscourseAutomation
|
||||
|
||||
def trigger_in_background!(context = {})
|
||||
Jobs.enqueue(
|
||||
:discourse_automation_trigger,
|
||||
Jobs::DiscourseAutomation::Trigger,
|
||||
automation_id: id,
|
||||
context: self.class.serialize_context(context),
|
||||
)
|
||||
|
Reference in New Issue
Block a user