Skip to content

Commit ab1852b

Browse files
changes
1 parent 65b4dd9 commit ab1852b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codebolt/codeboltjs",
3-
"version": "1.1.42",
3+
"version": "1.1.43",
44
"description": "",
55
"keywords": [],
66
"author": "",

src/modules/chat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const cbchat = {
7979
}));
8080
cbws.getWebsocket.on('message', (data: string) => {
8181
const response = JSON.parse(data);
82-
if (response.type === "messageResponse") {
82+
if (response.type === "waitFormessageResponse") {
8383
resolve(response); // Resolve the Promise with the response data
8484
}
8585
});

0 commit comments

Comments
 (0)