mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 06:42:32 -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
@@ -17,7 +17,7 @@ class WebhookSettingsController < ApplicationController
|
||||
def update
|
||||
submitter = current_account.submitters.where.not(completed_at: nil).order(:id).last
|
||||
|
||||
SendFormCompletedWebhookRequestJob.perform_later(submitter)
|
||||
SendFormCompletedWebhookRequestJob.perform_later({ 'submitter_id' => submitter.id })
|
||||
|
||||
redirect_back(fallback_location: settings_webhooks_path, notice: 'Webhook request has been sent.')
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user