Skip to content

Commit 1b777fb

Browse files
authored
fixing messages not being rendered inside threads (#1033)
* fixing messages not being rendered inside threads * removing roomId parameter
1 parent 68b0d36 commit 1b777fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/api/src/EmbeddedChatApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ export default class EmbeddedChatApi {
632632
try {
633633
const { userId, authToken } = (await this.auth.getCurrentUser()) || {};
634634
const messages = await fetch(
635-
`${this.host}/api/v1/chat.getThreadMessages?roomId=${this.rid}&tmid=${tmid}`,
635+
`${this.host}/api/v1/chat.getThreadMessages?tmid=${tmid}`,
636636
{
637637
headers: {
638638
"Content-Type": "application/json",

0 commit comments

Comments
 (0)