mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-16 20:22:18 +00:00
Fix LinkCrawlWorker crashing on null
created_at
(#26151)
This commit is contained in:
parent
394d1f19b1
commit
2dfa8f797a
|
@ -124,7 +124,7 @@ class LinkDetailsExtractor
|
||||||
author_url: author_url || '',
|
author_url: author_url || '',
|
||||||
embed_url: embed_url || '',
|
embed_url: embed_url || '',
|
||||||
language: language,
|
language: language,
|
||||||
created_at: published_at,
|
created_at: published_at.presence || Time.now.utc,
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue