master
Aevann1 2021-11-06 20:09:40 +02:00
parent 0f282c10a9
commit 2d8a671ba2
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ def api_comment(v):
if ban.reason: reason += f" {ban.reason}"
return {"error": reason}, 401
existing = g.db.query(Comment.permalink).filter(Comment.author_id == v.id,
existing = g.db.query(Comment).filter(Comment.author_id == v.id,
Comment.deleted_utc == 0,
Comment.parent_comment_id == parent_comment_id,
Comment.parent_submission == parent_submission,