Skip to content

Commit f3dbe5e

Browse files
changes in js
1 parent ac5d05c commit f3dbe5e

File tree

2 files changed

+3
-3
lines changed

2 files changed

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

src/modules/websocket.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class cbws {
2424
try {
2525
let fileContents = fs.readFileSync('./codeboltagent.yml', 'utf8');
2626
let data:any = yaml.load(fileContents);
27-
return data.uniqueConnectionId;
27+
return data.unique_connectionid;
2828
} catch (e) {
2929
console.error('Unable to locate codeboltagent.yml file.');
3030
return '';
@@ -35,7 +35,7 @@ class cbws {
3535
try {
3636
let fileContents = fs.readFileSync('./codeboltagent.yml', 'utf8');
3737
let data:any = yaml.load(fileContents);
38-
return data.initialMessage;
38+
return data.initial_message;
3939
} catch (e) {
4040
console.error('Unable to locate codeboltagent.yml file.');
4141
return '';

0 commit comments

Comments
 (0)