Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Fix banUser API call missing enabled parameter (#4742)

Matt Pruittdef03d006eaf
diff --git a/web/services/moderation-service.ts b/web/services/moderation-service.ts
index 023ac3c5c1..d1a801fd67 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({ userId: id }),
+ body: JSON.stringify({ userId: id, enabled: false }),
};
await fetch(hideMessageUrl, options);