mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 15:02:33 -05:00
add webhook events
This commit is contained in:
1 parent
1b60b42428
commit
988a5361a6
54 files changed
+825
-160
No files matched your search
@@ -28,10 +28,7 @@ module Api
|
||||
|
||||
cloned_template.save!
|
||||
|
||||
WebhookUrls.for_account_id(cloned_template.account_id, 'template.created').each do |webhook_url|
|
||||
SendTemplateCreatedWebhookRequestJob.perform_async('template_id' => cloned_template.id,
|
||||
'webhook_url_id' => webhook_url.id)
|
||||
end
|
||||
WebhookUrls.enqueue_events(cloned_template, 'template.created')
|
||||
|
||||
SearchEntries.enqueue_reindex(cloned_template)
|
||||
|
||||
|
||||
Reference in new issue
Block a user