Update main.py
Browse files
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(
|
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:
|