Pass correct id param. Closes #2756

This commit is contained in:
Gabe Kangas
2023-03-01 17:58:15 -08:00
parent 0436edfaa0
commit d8fb2d5d79

View File

@@ -28,7 +28,7 @@ class ChatModerationService {
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
}, },
body: JSON.stringify({ id }), body: JSON.stringify({ userId: id }),
}; };
await fetch(hideMessageUrl, options); await fetch(hideMessageUrl, options);