archive_url doesn't exist, use story.archiveorg_url

This commit is contained in:
Ben Harris 2022-08-17 15:56:17 -04:00
parent 578e9f3fc1
commit 8cbeefe1f5
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class DiffBot
begin
s = Sponge.new
s.timeout = 45
s.fetch(story.archive_url)
s.fetch(story.archiveorg_url)
rescue => e
Rails.logger.error "error caching #{db_url}: #{e.message}"
end