Browse Source

Pass correct id param. Closes #2756

pull/2765/head
Gabe Kangas 2 years ago
parent
commit
d8fb2d5d79
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 2
      web/services/moderation-service.ts

2
web/services/moderation-service.ts

@ -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);

Loading…
Cancel
Save