chore: bump client api (#5217)

* chore: bump client api

* chore: fix compile

* chore: fix compile
This commit is contained in:
Nathan.fooo
2024-04-27 21:55:12 +08:00
committed by GitHub
parent d4278a7549
commit 044dad1d3e
31 changed files with 597 additions and 428 deletions

View File

@ -535,7 +535,7 @@ fn to_user_workspace(af_workspace: AFWorkspace) -> UserWorkspace {
id: af_workspace.workspace_id.to_string(),
name: af_workspace.workspace_name,
created_at: af_workspace.created_at,
workspace_database_object_id: af_workspace.database_storage_id.to_string(),
database_indexer_id: af_workspace.database_storage_id.to_string(),
icon: af_workspace.icon,
}
}

View File

@ -231,7 +231,7 @@ fn make_user_workspace() -> UserWorkspace {
id: uuid::Uuid::new_v4().to_string(),
name: "My Workspace".to_string(),
created_at: Default::default(),
workspace_database_object_id: uuid::Uuid::new_v4().to_string(),
database_indexer_id: uuid::Uuid::new_v4().to_string(),
icon: "".to_string(),
}
}