diff --git a/api_server.py b/api_server.py index 788c44f..2045277 100644 --- a/api_server.py +++ b/api_server.py @@ -22,49 +22,11 @@ async def shutdown(): async def get_post_html(channel: str, post_id: int): try: post = await client.get_post(channel, post_id) - if post.get("error"): - raise HTTPException( - status_code=404, - detail=post["details"] - ) - return f""" - -
-