Merge pull request #514 from omnivore-app/fix/description

Show empty description if not exist
This commit is contained in:
Jackson Harper 2022-04-29 08:59:00 -07:00 committed by GitHub
commit 7f827dee55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -253,7 +253,7 @@ export const createArticleResolver = authorized<
userId: uid,
originalHtml: domContent,
content: parsedContent?.content || '',
description: parsedContent?.excerpt,
description: parsedContent?.excerpt || '',
title:
parsedContent?.title ||
preparedDocument?.pageInfo.title ||