Skip to content

Commit

Permalink
fix issue with iiif_print and s3 backed valkyrie file storage
Browse files Browse the repository at this point in the history
  • Loading branch information
orangewolf committed Nov 7, 2024
1 parent 9c4783a commit 73e7548
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def self.pdf_paths(file:)

if file.class < Valkyrie::Resource
# assuming that if one PDF is uploaded to a Valkyrie resource then all of them should be
paths = [Hyrax.storage_adapter.file_path(file.file_identifier)]
paths = [file.file.disk_path.to_s]
pdfs_only_for(paths)
else
upload_ids = filter_file_ids(file.id.to_s)
Expand Down

0 comments on commit 73e7548

Please sign in to comment.