mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
add template webhooks
This commit is contained in:
1 parent
6f7128a51c
commit
929d29576d
7 files changed
+92
No files matched your search
@@ -18,6 +18,8 @@ class TemplatesUploadsController < ApplicationController
|
||||
|
||||
@template.update!(schema:)
|
||||
|
||||
SendTemplateCreatedWebhookRequestJob.perform_later(@template)
|
||||
|
||||
redirect_to edit_template_path(@template)
|
||||
rescue Templates::CreateAttachments::PdfEncrypted
|
||||
render turbo_stream: turbo_stream.append(params[:form_id], html: helpers.tag.prompt_password)
|
||||
|
||||
Reference in new issue
Block a user