Skip to content

Commit

Permalink
🐛 Fix logic bug regarding splitting job
Browse files Browse the repository at this point in the history
Co-authored-by: Kirk Wang <kirk.wang@scientist.com>
  • Loading branch information
jeremyf and kirkkwang committed Nov 27, 2023
1 parent bc0cc08 commit 7926745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/iiif_print/jobs/request_split_pdf_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class RequestSplitPdfJob < IiifPrint::Jobs::ApplicationJob
# @param user [User]
# rubocop:disable Metrics/MethodLength
def perform(file_set:, user:)
return true if file_set.pdf?
return true unless file_set.pdf?

work = IiifPrint.parent_for(file_set)

Expand Down

0 comments on commit 7926745

Please sign in to comment.