From 9d8fc0e3569f76005c98b8e22a9cf38f8ea6e22e Mon Sep 17 00:00:00 2001 From: CrackTC Date: Thu, 8 Feb 2024 17:17:05 +0800 Subject: [PATCH] fix(route): bsky (#14429) --- lib/v2/bsky/posts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/v2/bsky/posts.js b/lib/v2/bsky/posts.js index 34804dc1d..da774dc46 100644 --- a/lib/v2/bsky/posts.js +++ b/lib/v2/bsky/posts.js @@ -26,7 +26,7 @@ module.exports = async (ctx) => { ctx.state.data = { title: `${profile.displayName} (@${profile.handle}) — Bluesky`, - description: profile.description.replaceAll('\n', ' '), + description: profile.description?.replaceAll('\n', ' '), link: `https://bsky.app/profile/${profile.handle}`, image: profile.banner, icon: profile.avatar,