diff --git a/files/routes/comments.py b/files/routes/comments.py index f96fdd65c8..64ed6b8a3c 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -462,7 +462,7 @@ def edit_comment(cid, v): g.db.add(n) g.db.commit() - return {"body": body, "comment": c.realbody(v)} + return {"body": c.body, "comment": c.realbody(v)} @app.post("/delete/comment/")