File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/cubejs-backend-native/src
rust/cubeorchestrator/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -540,7 +540,7 @@ fn parse_cubestore_ws_result_message(mut cx: FunctionContext) -> JsResult<JsProm
540540 let msg_data = msg. as_slice ( & cx) . to_vec ( ) ;
541541
542542 let promise = cx
543- . task ( move || CubeStoreResult :: new ( & msg_data) )
543+ . task ( move || CubeStoreResult :: from_fb ( & msg_data) )
544544 . promise ( move |mut cx, res| match res {
545545 Ok ( result) => Ok ( cx. boxed ( Arc :: new ( result) ) ) ,
546546 Err ( err) => cx. throw_error ( err. to_string ( ) ) ,
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ pub struct CubeStoreResult {
3636impl Finalize for CubeStoreResult { }
3737
3838impl CubeStoreResult {
39- pub fn new ( msg_data : & [ u8 ] ) -> Result < Self , ParseError > {
39+ pub fn from_fb ( msg_data : & [ u8 ] ) -> Result < Self , ParseError > {
4040 let mut result = CubeStoreResult {
4141 columns : vec ! [ ] ,
4242 rows : vec ! [ ] ,
You can’t perform that action at this time.
0 commit comments