From 265292548d64d215cc3ba88fb652f88e639c285b Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Sun, 9 Apr 2023 21:55:50 -0400 Subject: [PATCH] Update status.ts --- src/api/status.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/status.ts b/src/api/status.ts index 1d3528c..83b23e3 100644 --- a/src/api/status.ts +++ b/src/api/status.ts @@ -34,7 +34,7 @@ const populateTweetProperties = async ( apiTweet.author = { name: name, screen_name: screenName, - avatar_url: user?.profile_image_url_https.replace('_normal', '_200x200') || '', + avatar_url: (user?.profile_image_url_https || '').replace('_normal', '_200x200') || '', avatar_color: colorFromPalette( tweet.user?.profile_image_extensions_media_color?.palette || [] ),