Skip to content

Commit

Permalink
fix deleted blogs in trail pending typeble update
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkSuckerberg committed Aug 8, 2023
1 parent 9eeec48 commit ae17dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ async function mainPage(
const videosToShow = videoIndex ? videoTags[+videoIndex - 1] : videoTags.join('\n');

const title = `${post.blog.name} ${
originalPost ? `🔁 ${originalPost.blog.name}` : `(${post.blog.title})`
originalPost ? `🔁 ${originalPost.blog?.name || 'deleted blog'}` : `(${post.blog.title})`
}`;

const audioBlocks = blocks.filter(element => element.type == 'audio') as TumblrNeueAudioBlock[];
Expand Down

0 comments on commit ae17dea

Please sign in to comment.