mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 23:12:33 -05:00
map page nodes
This commit is contained in:
1 parent
269e2beeaa
commit
71528eda45
2 files changed
+231
-18
No files matched your search
@@ -17,7 +17,7 @@ class TemplatesDebugController < ApplicationController
|
||||
fields = Templates::FindAcroFields.call(pdf, attachment, data)
|
||||
end
|
||||
|
||||
fields = Templates::DetectFields.call(StringIO.new(data), attachment:) if fields.blank?
|
||||
fields, = Templates::DetectFields.call(StringIO.new(data), attachment:) if fields.blank?
|
||||
|
||||
attachment.metadata['pdf'] ||= {}
|
||||
attachment.metadata['pdf']['fields'] = fields
|
||||
|
||||
Reference in new issue
Block a user