From 95a16aaa4719e9aae2a254d32e29197c19b4d930 Mon Sep 17 00:00:00 2001 From: agatha Date: Sun, 31 Mar 2024 23:29:23 -0400 Subject: [PATCH] docs: update reply description --- backend/forum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/forum.py b/backend/forum.py index c4c4515..c3ce424 100644 --- a/backend/forum.py +++ b/backend/forum.py @@ -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: