mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
feat: cloud storage test (#2663)
* chore: show default user name * chore: update * feat: change collab storage type after auth type changed * chore: reload folder * chore: initial the group controller if need * chore: update patch * chore: update patch ref
This commit is contained in:
@ -13,7 +13,7 @@ impl FolderCloudService for LocalServerFolderCloudServiceImpl {
|
||||
Ok(Workspace {
|
||||
id: gen_workspace_id(),
|
||||
name: name.to_string(),
|
||||
belongings: Default::default(),
|
||||
child_views: Default::default(),
|
||||
created_at: timestamp(),
|
||||
})
|
||||
})
|
||||
|
@ -13,7 +13,7 @@ impl FolderCloudService for SelfHostedServerFolderCloudServiceImpl {
|
||||
Ok(Workspace {
|
||||
id: gen_workspace_id(),
|
||||
name: name.to_string(),
|
||||
belongings: Default::default(),
|
||||
child_views: Default::default(),
|
||||
created_at: timestamp(),
|
||||
})
|
||||
})
|
||||
|
@ -187,7 +187,7 @@ pub(crate) async fn create_workspace_with_uid(
|
||||
Ok(Workspace {
|
||||
id: user_workspace.workspace_id,
|
||||
name: user_workspace.workspace_name,
|
||||
belongings: Default::default(),
|
||||
child_views: Default::default(),
|
||||
created_at: user_workspace.created_at.timestamp(),
|
||||
})
|
||||
}
|
||||
@ -218,7 +218,7 @@ pub(crate) async fn get_user_workspace_with_uid(
|
||||
.map(|user_workspace| Workspace {
|
||||
id: user_workspace.workspace_id,
|
||||
name: user_workspace.workspace_name,
|
||||
belongings: Default::default(),
|
||||
child_views: Default::default(),
|
||||
created_at: user_workspace.created_at.timestamp(),
|
||||
})
|
||||
.collect(),
|
||||
|
Reference in New Issue
Block a user