chore: rename (#4551)

Co-authored-by: Richard Shiue <71320345+richardshiue@users.noreply.github.com>
This commit is contained in:
Nathan.fooo
2024-01-31 00:43:55 +08:00
committed by GitHub
parent f6242f1cc7
commit 0483e305e7
11 changed files with 36 additions and 30 deletions

View File

@ -353,7 +353,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,
database_view_tracker_id: af_workspace.database_storage_id.to_string(),
workspace_database_object_id: af_workspace.database_storage_id.to_string(),
}
}

View File

@ -181,6 +181,6 @@ fn make_user_workspace() -> UserWorkspace {
id: uuid::Uuid::new_v4().to_string(),
name: "My Workspace".to_string(),
created_at: Default::default(),
database_view_tracker_id: uuid::Uuid::new_v4().to_string(),
workspace_database_object_id: uuid::Uuid::new_v4().to_string(),
}
}