From d8fb2d5d7937e8771c0e9230265cbb1e4e5c97ab Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Wed, 1 Mar 2023 17:58:15 -0800 Subject: [PATCH] Pass correct id param. Closes #2756 --- web/services/moderation-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/services/moderation-service.ts b/web/services/moderation-service.ts index 2c0f961c4..f244b802e 100644 --- a/web/services/moderation-service.ts +++ b/web/services/moderation-service.ts @@ -28,7 +28,7 @@ class ChatModerationService { headers: { 'Content-Type': 'application/json', }, - body: JSON.stringify({ id }), + body: JSON.stringify({ userId: id }), }; await fetch(hideMessageUrl, options);