Skip to content

Commit

Permalink
Fixed too many tickers in embed
Browse files Browse the repository at this point in the history
close #639
  • Loading branch information
StephanAkkerman committed Aug 26, 2024
1 parent 882a4e2 commit 72c20f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util/tweet_embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ async def make_tweet_embed(

# Ensure the tickers are unique
symbols = get_clean_symbols(tickers, hashtags)[:24]
tickers = tickers[:24]

# Check for difference
if symbols != tickers + hashtags:
Expand Down

0 comments on commit 72c20f0

Please sign in to comment.