fix 500 error

remotes/1693176582716663532/tmp_refs/heads/watchparty
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:
abort(403, "Stop grooming!")
id = int(request.values.get("parent_id"))
id = request.values.get("parent_id")
parent = get_comment(id, v=v)
user_id = parent.author.id