mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 06:42:32 -05:00
expire download links
This commit is contained in:
1 parent
02c7cdcd97
commit
c4a693846e
26 files changed
+184
-78
No files matched your search
@@ -14,9 +14,11 @@ module Api
|
||||
documents_attachments: :blob, attachments_attachments: :blob)
|
||||
)
|
||||
|
||||
expires_at = Accounts.link_expires_at(current_account)
|
||||
|
||||
render json: {
|
||||
data: submitters.map do |s|
|
||||
Submitters::SerializeForApi.call(s, with_template: true, with_events: true, params:)
|
||||
Submitters::SerializeForApi.call(s, with_template: true, with_events: true, params:, expires_at:)
|
||||
end,
|
||||
pagination: {
|
||||
count: submitters.size,
|
||||
|
||||
Reference in new issue
Block a user