add value for comment.thumbnailUrl in embed

This commit is contained in:
Tom
2023-04-30 16:23:32 +02:00
parent a9de38a3be
commit d15dacb06f
3 changed files with 10 additions and 9 deletions
+2 -1
View File
@@ -39,8 +39,9 @@ const getCommentMediaInfo = (comment) => {
if (comment?.thumbnailUrl && comment?.thumbnailUrl !== comment?.link) {
return {
url: comment.thumbnailUrl,
url: comment.link,
type: 'webpage',
thumbnail: comment.thumbnailUrl,
};
}