Skip to content

Commit

Permalink
Merge pull request #376 from scientist-softserv/lightning_round
Browse files Browse the repository at this point in the history
fix issue with iiif_print and s3 backed valkyrie file storage
  • Loading branch information
orangewolf authored Nov 7, 2024
2 parents fd975d6 + 73e7548 commit a1905e2
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 a1905e2

Please sign in to comment.