mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
refresh webhook status
This commit is contained in:
1 parent
988a5361a6
commit
4615e3e48f
10 files changed
+139
-90
No files matched your search
@@ -53,6 +53,8 @@ class WebhookSettingsController < ApplicationController
|
||||
def resend
|
||||
submitter = current_account.submitters.where.not(completed_at: nil).order(:id).last
|
||||
|
||||
authorize!(:read, submitter)
|
||||
|
||||
if submitter.blank? || @webhook_url.blank?
|
||||
return redirect_back(fallback_location: settings_webhooks_path,
|
||||
alert: I18n.t('unable_to_resend_webhook_request'))
|
||||
|
||||
Reference in new issue
Block a user