diff --git a/frontend/appflowy_tauri/src-tauri/src/init.rs b/frontend/appflowy_tauri/src-tauri/src/init.rs index 25dce3a6eb..1702c02923 100644 --- a/frontend/appflowy_tauri/src-tauri/src/init.rs +++ b/frontend/appflowy_tauri/src-tauri/src/init.rs @@ -61,5 +61,5 @@ pub fn init_flowy_core() -> AppFlowyCore { let runtime = Arc::new(AFPluginRuntime::new().unwrap()); let cloned_runtime = runtime.clone(); - runtime.block_on(async move { AppFlowyCore::new(config, cloned_runtime).await }) + runtime.block_on(async move { AppFlowyCore::new(config, cloned_runtime, None).await }) } diff --git a/frontend/appflowy_web_app/src-tauri/src/init.rs b/frontend/appflowy_web_app/src-tauri/src/init.rs index d918cf46fb..923ab0ff8f 100644 --- a/frontend/appflowy_web_app/src-tauri/src/init.rs +++ b/frontend/appflowy_web_app/src-tauri/src/init.rs @@ -56,5 +56,5 @@ pub fn init_flowy_core() -> AppFlowyCore { let runtime = Arc::new(AFPluginRuntime::new().unwrap()); let cloned_runtime = runtime.clone(); - runtime.block_on(async move { AppFlowyCore::new(config, cloned_runtime).await }) + runtime.block_on(async move { AppFlowyCore::new(config, cloned_runtime, None).await }) }