fix 500 error

master
Aevann1 2022-10-14 17:29:26 +02:00
parent efe0ff091a
commit 6a11de21e0
1 changed files with 1 additions and 1 deletions

View File

@ -582,7 +582,7 @@ def messagereply(v):
if 'discord.gg' in body or 'discord.com' in body or 'discordapp.com' in body: if 'discord.gg' in body or 'discord.com' in body or 'discordapp.com' in body:
abort(403, "Stop grooming!") abort(403, "Stop grooming!")
id = int(request.values.get("parent_id")) id = request.values.get("parent_id")
parent = get_comment(id, v=v) parent = get_comment(id, v=v)
user_id = parent.author.id user_id = parent.author.id