Skip to content

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.

fix: adapt latest octobase id type

linonetwo5d40c93db735
diff --git a/client-app/src-tauri/src/commands/workspace.rs b/client-app/src-tauri/src/commands/workspace.rs
index 66173089b5..ac07dc66f8 100644
--- a/client-app/src-tauri/src/commands/workspace.rs
+++ b/client-app/src-tauri/src/commands/workspace.rs
@@ -21,7 +21,7 @@ pub async fn get_workspaces<'s>(
.lock()
.await
.metadata_db
- .get_user_workspaces(parameters.user_id)
+ .get_user_workspaces(parameters.user_id.to_string())
.await
{
Ok(user_workspaces) => Ok(GetWorkspacesResult {
@@ -66,7 +66,7 @@ pub async fn create_workspace<'s>(
.lock()
.await
.metadata_db
- .create_normal_workspace(parameters.user_id)
+ .create_normal_workspace(parameters.user_id.to_string())
.await;
match new_workspace_result {
Ok(new_workspace) => {