From 6a11de21e064f10cd617dd274c6b0c14acee9b02 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 14 Oct 2022 17:29:26 +0200 Subject: [PATCH] fix 500 error --- files/routes/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/users.py b/files/routes/users.py index cb4241ed3..9b5387dd1 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -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