There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix: return type
linonetwod9278fcc1607
diff --git a/client-app/src-tauri/src/commands/document.rs b/client-app/src-tauri/src/commands/document.rsindex 822d1bf690..7f78a1da0d 100644--- a/client-app/src-tauri/src/commands/document.rs+++ b/client-app/src-tauri/src/commands/document.rs@@ -85,7 +85,7 @@ pub async fn update_y_document<'s>(state: tauri::State<'s, AppState>,parameters: YDocumentUpdate,) -> Result<bool, String> {- if let Some(doc) = &state+ if let Some(success) = &state.0.lock().await@@ -94,7 +94,7 @@ pub async fn update_y_document<'s>(.await.ok(){- Ok(true)+ Ok(*success)} else {Err(format!("Failed to update yDoc to {}", parameters.id))}