flatten pdf form when signing
This commit is contained in:
@@ -294,6 +294,12 @@ module Submissions
|
||||
HexaPDF::Document.new(io: StringIO.new(attachment.download))
|
||||
end
|
||||
|
||||
begin
|
||||
pdf.acro_form&.flatten
|
||||
rescue StandardError => e
|
||||
Rollbar.error(e) if defined?(Rollbar)
|
||||
end
|
||||
|
||||
[attachment.uuid, pdf]
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user