randydev commited on
Commit
1ad52b3
·
verified ·
1 Parent(s): dcef69d

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -48,7 +48,7 @@ async def hello():
48
 
49
  @fast_app.get("/user/get_story")
50
  async def get_user_story(link=None):
51
- username, random_id = get_random_from_channel(link_story)
52
  try:
53
  stories = await user_client.get_stories(username, story_ids=[random_id])
54
  except Exception as e:
 
48
 
49
  @fast_app.get("/user/get_story")
50
  async def get_user_story(link=None):
51
+ username, random_id = get_random_from_channel(link)
52
  try:
53
  stories = await user_client.get_stories(username, story_ids=[random_id])
54
  except Exception as e: