mirror of
https://github.com/docusealco/docuseal
synced 2026-11-15 16:12:32 -05:00
fix rubocop
This commit is contained in:
1 parent
0cdcdb8898
commit
5d87160ee9
12 files changed
+20
-14
No files matched your search
@@ -11,7 +11,7 @@ class GeneratePreviewImagesJob
|
||||
max_page = [attachment.metadata['pdf']['number_of_pages'].to_i - 1,
|
||||
Templates::ProcessDocument::MAX_NUMBER_OF_PAGES_PROCESSED].min
|
||||
|
||||
Templates::ProcessDocument.generate_document_preview_images(attachment, attachment.download, (1..max_page),
|
||||
Templates::ProcessDocument.generate_document_preview_images(attachment, attachment.download, 1..max_page,
|
||||
concurrency: 1)
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user