chore: fix compile

This commit is contained in:
Zack Fu Zi Xiang 2024-09-10 14:45:21 +08:00
parent 3c90395d46
commit 5564fab4c5
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ impl TestClient {
pub async fn get_db_collab_from_view(&mut self, workspace_id: &str, view_id: &str) -> Collab {
let mut ws_db_collab = self.get_workspace_database_collab(workspace_id).await;
let ws_db_body = WorkspaceDatabaseBody::new(&mut ws_db_collab);
let ws_db_body = WorkspaceDatabaseBody::open(&mut ws_db_collab);
let txn = ws_db_collab.transact();
let db_id = ws_db_body
.get_all_database_meta(&txn)