summaryrefslogtreecommitdiff
path: root/src/queries
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2024-02-08 23:49:45 -0600
committerHombreLaser <sebastian-440@live.com>2024-02-08 23:49:45 -0600
commit0b7111ce7186e64f8f290d0a2d8af7f1c987850f (patch)
tree08f383dd5635ead63168918b575897ff8a0f8b70 /src/queries
parente91a86a714686a22149b55c9d5f0210cec8fef52 (diff)
Add comments rendering
Diffstat (limited to 'src/queries')
-rw-r--r--src/queries/comments_query.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queries/comments_query.py b/src/queries/comments_query.py
index 4bdf31f..6873df0 100644
--- a/src/queries/comments_query.py
+++ b/src/queries/comments_query.py
@@ -12,5 +12,5 @@ class CommentsQuery(BaseQuery):
def comments_of_post(self, post):
return db.paginate(
- db.select(Comment).where(Comment.post == self._post),
+ db.select(Comment).where(Comment.post == post),
)