Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcam-src committed Aug 6, 2024
1 parent 656abcb commit bec689d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/tasks/dimensions_ingest_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def download_pdf(encoded_url, publication, headers)
puts "Downloading PDF from #{encoded_url}"
begin
# Enforce a delay before making the request
sleep @download_delay
sleep @download_delay
# Verify the content type of the PDF before downloading
response = HTTParty.head(encoded_url, headers: headers)
if response.code == 200
Expand Down

0 comments on commit bec689d

Please sign in to comment.