mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 15:02:33 -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
@@ -18,10 +18,12 @@ module Api
|
||||
combined_document_attachment: :blob,
|
||||
audit_trail_attachment: :blob))
|
||||
|
||||
expires_at = Accounts.link_expires_at(current_account)
|
||||
|
||||
render json: {
|
||||
data: submissions.map do |s|
|
||||
Submissions::SerializeForApi.call(s, s.submitters, params,
|
||||
with_events: false, with_documents: false, with_values: false)
|
||||
with_events: false, with_documents: false, with_values: false, expires_at:)
|
||||
end,
|
||||
pagination: {
|
||||
count: submissions.size,
|
||||
|
||||
Reference in new issue
Block a user