mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 23:32:33 -05:00
add template archived event
This commit is contained in:
1 parent
36d59c40a7
commit
7309581b75
7 files changed
+147
-2
No files matched your search
@@ -15,7 +15,7 @@ class WebhookEventsController < ApplicationController
|
||||
Submissions::SerializeForApi.call(@webhook_event.record)
|
||||
when 'template.created', 'template.updated'
|
||||
Templates::SerializeForApi.call(@webhook_event.record)
|
||||
when 'submission.archived'
|
||||
when 'submission.archived', 'template.archived'
|
||||
@webhook_event.record.as_json(only: %i[id archived_at])
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user