mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #663 from omnivore-app/fix/parsing-error
Fix cannot convert null to object error message
This commit is contained in:
commit
f54211fcee
1 changed files with 1 additions and 1 deletions
|
|
@ -279,7 +279,7 @@ export const parsePreparedContent = async (
|
|||
return getJSONLdLinkMetadata(dom)
|
||||
})()
|
||||
|
||||
Object.assign(article, {
|
||||
Object.assign(article || {}, {
|
||||
content: clean,
|
||||
title: article?.title || (await jsonLdLinkMetadata).title,
|
||||
previewImage:
|
||||
|
|
|
|||
Loading…
Reference in a new issue