fix empty picture

This commit is contained in:
Wouter Groeneveld 2021-03-18 21:36:17 +01:00
parent 058d6fcb38
commit 5668db8f80
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ function parseBodyAsIndiewebSite(source, target, hEntry) {
return {
author: {
name: authorPropName ? authorPropName : authorValue,
picture: picture.value ? picture.value : picture
picture: picture?.value ? picture?.value : picture
},
name: name,
content: bridgyTwitterContent ? shorten(bridgyTwitterContent) : (summary ? shorten(summary) : shorten(contentEntry)),