docs: update reply description

This commit is contained in:
agatha 2024-03-31 23:29:23 -04:00
parent 701d20bc60
commit 95a16aaa47

View File

@ -78,7 +78,7 @@ async def get_thread(thread_id: int):
@app.post("/{thread_id}/post")
async def create_reply(thread_id: int, data: PostCreate):
async def reply_to_post(thread_id: int, data: PostCreate):
parent = None
for thread in THREADS:
if thread.id == thread_id: