Skip to content

Commit 13c4b45

Browse files
changes
1 parent 366c881 commit 13c4b45

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.45",
3+
"version": "1.1.46",
44
"description": "",
55
"keywords": [],
66
"author": "",

src/modules/chat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ const cbchat = {
146146
cbws.getWebsocket.on('message', (data: string) => {
147147
const response = JSON.parse(data);
148148
if (response.type === "confirmationResponse") {
149-
resolve(response.answer); // Resolve the Promise with the server's response
149+
resolve(response); // Resolve the Promise with the server's response
150150
}
151151
});
152152
});

0 commit comments

Comments
 (0)