File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @codebolt/codeboltjs" ,
3
- "version" : " 1.1.28 " ,
3
+ "version" : " 1.1.29 " ,
4
4
"description" : " " ,
5
5
"keywords" : [],
6
6
"author" : " " ,
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ const cbcodeutils = {
31
31
} ) ) ;
32
32
cbws . getWebsocket . on ( 'message' , ( data : string ) => {
33
33
const response = JSON . parse ( data ) ;
34
- if ( response . type === "getgetJsTreeResponse " ) {
35
- resolve ( response . payload ) ; // Resolve the Promise with the response data
34
+ if ( response . type === "getJsTreeResponse " ) {
35
+ resolve ( resolve ) ; // Resolve the Promise with the response data
36
36
}
37
37
} ) ;
38
38
} ) ;
@@ -65,7 +65,7 @@ const cbcodeutils = {
65
65
cbws . getWebsocket . on ( 'message' , ( data : string ) => {
66
66
const response = JSON . parse ( data ) ;
67
67
if ( response . type === "getgetJsTreeResponse" ) {
68
- resolve ( response . payload ) ; // Resolve the Promise with the response data
68
+ resolve ( resolve ) ; // Resolve the Promise with the response data
69
69
}
70
70
} ) ;
71
71
} ) ;
You can’t perform that action at this time.
0 commit comments