File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @codebolt/codeboltjs" ,
3- "version" : " 1.1.28 " ,
3+ "version" : " 1.1.29 " ,
44 "description" : " " ,
55 "keywords" : [],
66 "author" : " " ,
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ const cbcodeutils = {
3131 } ) ) ;
3232 cbws . getWebsocket . on ( 'message' , ( data : string ) => {
3333 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
3636 }
3737 } ) ;
3838 } ) ;
@@ -65,7 +65,7 @@ const cbcodeutils = {
6565 cbws . getWebsocket . on ( 'message' , ( data : string ) => {
6666 const response = JSON . parse ( data ) ;
6767 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
6969 }
7070 } ) ;
7171 } ) ;
You can’t perform that action at this time.
0 commit comments