mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -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
@@ -102,6 +102,8 @@ module Api
|
||||
def destroy
|
||||
@submission.update!(archived_at: Time.current)
|
||||
|
||||
SendSubmissionArchivedWebhookRequestJob.perform_later(@submission)
|
||||
|
||||
render json: @submission.as_json(only: %i[id], methods: %i[archived_at])
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user