Skip to content

Commit

Permalink
update endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
MuslemRahimi committed Jul 27, 2024
1 parent f44edfd commit 5cf219f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3297,7 +3297,7 @@ async def get_reddit_tracker(api_key: str = Security(get_api_key)):

try:
with open(f"json/reddit-tracker/wallstreetbets/trending.json", 'rb') as file:
trending = orjson.loads(file.read())[0:10]
trending = orjson.loads(file.read())[0:5]
except:
trending = []

Expand Down

0 comments on commit 5cf219f

Please sign in to comment.