use sidekiq

This commit is contained in:
Pete Matsyburka committed 2024-06-24 21:10:58 +03:00
1 parent 9539c476c0
commit 3034c00bb3
41 files changed
+332 -132

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ module Api
@template.update!(template_params)
SendTemplateUpdatedWebhookRequestJob.perform_later('template_id' => @template.id)
SendTemplateUpdatedWebhookRequestJob.perform_async('template_id' => @template.id)
render json: @template.as_json(only: %i[id updated_at])
end