This commit is contained in:
Aevann1 2021-10-23 02:08:55 +02:00
parent 5f1fdbcfca
commit 468a0f3079

View file

@ -197,7 +197,7 @@ def api_comment(v):
Comment.parent_submission == parent_submission,
Comment.body == body
).first()
if existing: return {"error": f"You already made that comment: {existing.permalink}"}, 409
if existing: \return {"error": f"You already made that comment: {existing.permalink}"}, 409
if parent.author.any_block_exists(v) and not v.admin_level>=3: return {"error": "You can't reply to users who have blocked you, or users you have blocked."}, 403