Skip to content

Commit

Permalink
Fix deposit form download url
Browse files Browse the repository at this point in the history
  • Loading branch information
johnf committed Oct 19, 2024
1 parent 55cf881 commit 7a9863b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nabu/catalog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def essence_url(essence, as_attachment: false)
end

def deposit_form_url(collection, as_attachment: false)
filename = "#{collection.identifier}-deposit.pdf}"
filename = "#{collection.identifier}-deposit.pdf"
Rails.logger.debug { "Nabu::Catalog: Get despoit form URL #{collection.identifier}:#{filename}" }
parts = [collection.identifier, 'pdsc_admin', filename]

Expand Down

0 comments on commit 7a9863b

Please sign in to comment.