Skip to content

Commit

Permalink
🐛 Fix re-split for PDFs
Browse files Browse the repository at this point in the history
This commit will add a fix for re-splitting PDFs, the problem was
because of keyword arguments.

Ref:
- notch8/palni_palci_knapsack#239
  • Loading branch information
Kirk Wang committed Feb 18, 2025
1 parent 8482703 commit 99bdb2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/services/iiif_print/tenant_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ def self.never_split_pdfs?

##
# @api public
def self.call(*args)
def self.call(path, **kwargs)
return [] unless TenantConfig.use_iiif_print?

iiif_print_splitter.call(*args)
iiif_print_splitter.call(path, **kwargs)
end
end

Expand Down

0 comments on commit 99bdb2a

Please sign in to comment.