fix rubocop

This commit is contained in:
Pete Matsyburka committed 2025-10-04 18:33:37 +03:00
1 parent 0cdcdb8898
commit 5d87160ee9
12 files changed
+20 -14

No files matched your search

+1 -1
View File
@@ -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