mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
fix submission result
This commit is contained in:
1 parent
8a6430f117
commit
43b32d05cb
4 files changed
+6
-8
No files matched your search
@@ -15,7 +15,7 @@ module Templates
|
||||
def call(attachment)
|
||||
if attachment.content_type == PDF_CONTENT_TYPE
|
||||
generate_pdf_preview_images(attachment)
|
||||
elsif attachment.content_type.starts_with?('image/')
|
||||
elsif attachment.image?
|
||||
generate_preview_image(attachment)
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user