This commit is contained in:
Aevann1 2022-02-04 10:59:12 +02:00
parent f341fc27d7
commit 53b1a2f862
6 changed files with 7 additions and 25 deletions

View file

@ -138,9 +138,7 @@ def api_vote_comment(comment_id, new, v):
new = int(new)
try: comment_id = int(comment_id)
except:
try: comment_id = int(comment_id, 36)
except: abort(404)
except: abort(404)
comment = get_comment(comment_id)