Skip to content

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

fix: registerUser request body is invalid (#4002)

Rafael Passosb434089c8cce
diff --git a/web/services/chat-service.ts b/web/services/chat-service.ts
index 54551026fe..3fb59fe535 100644
--- a/web/services/chat-service.ts
+++ b/web/services/chat-service.ts
@@ -34,7 +34,7 @@ class ChatService {
headers: {
'Content-Type': 'application/json',
},
- body: JSON.stringify({ displayName: username }),
+ data: { displayName: username },
};
const response = await getUnauthedData(URL_CHAT_REGISTRATION, options);