Update status.ts

This commit is contained in:
dangered wolf 2023-04-09 21:55:50 -04:00
parent 87956c6759
commit 265292548d
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -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 || []
),