mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
fix webhook serializer
This commit is contained in:
1 parent
c38830dd1c
commit
e7c5f14860
1 file changed
+1
-1
@@ -45,7 +45,7 @@ module Submitters
|
||||
if field['type'].in?(%w[image signature])
|
||||
rails_storage_proxy_url(attachments_index[value])
|
||||
elsif field['type'] == 'file'
|
||||
Array.wrap(value).compact_blank.filter_map { |e| rails_storage_proxy_url(e) }
|
||||
Array.wrap(value).compact_blank.filter_map { |e| rails_storage_proxy_url(attachments_index[e]) }
|
||||
else
|
||||
value
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user