mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 23:12:33 -05:00
simplify job params
This commit is contained in:
1 parent
61da477733
commit
acf06084bf
19 files changed
+78
-53
No files matched your search
@@ -20,7 +20,7 @@ module Api
|
||||
|
||||
Templates::CloneAttachments.call(template: cloned_template, original_template: @template)
|
||||
|
||||
SendTemplateCreatedWebhookRequestJob.perform_later(cloned_template)
|
||||
SendTemplateCreatedWebhookRequestJob.perform_later('template_id' => cloned_template.id)
|
||||
|
||||
render json: Templates::SerializeForApi.call(cloned_template)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user