mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 07:22:32 -05:00
add webhook event preferences
This commit is contained in:
1 parent
0c690b3033
commit
6788071eec
12 files changed
+130
-12
No files matched your search
@@ -50,6 +50,8 @@ class SubmissionsController < ApplicationController
|
||||
def destroy
|
||||
@submission.update!(archived_at: Time.current)
|
||||
|
||||
SendSubmissionArchivedWebhookRequestJob.perform_later(@submission)
|
||||
|
||||
redirect_back(fallback_location: template_path(@submission.template), notice: 'Submission has been archived')
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user