simplify job params

This commit is contained in:
Pete Matsyburka committed 2024-06-22 10:50:07 +03:00
1 parent 61da477733
commit acf06084bf
19 files changed
+78 -53

No files matched your search

@@ -18,7 +18,7 @@ class TemplatesUploadsController < ApplicationController
@template.update!(schema:)
SendTemplateCreatedWebhookRequestJob.perform_later(@template)
SendTemplateCreatedWebhookRequestJob.perform_later('template_id' => @template.id)
redirect_to edit_template_path(@template)
rescue Templates::CreateAttachments::PdfEncrypted