Fix LinkCrawlWorker crashing on `null` `created_at` (#26151)

lolsob-rspec
Claire 2023-07-24 17:55:36 +02:00 committed by GitHub
parent e60eb89958
commit b5d8462fa8
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ class LinkDetailsExtractor
author_url: author_url || '',
embed_url: embed_url || '',
language: language,
created_at: published_at,
created_at: published_at.presence || Time.now.utc,
}
end