mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-27 08:23:29 +03:00
fix: adapt latest octobase id type
This commit is contained in:
parent
3d78301805
commit
5d40c93db7
@ -21,7 +21,7 @@ pub async fn get_workspaces<'s>(
|
|||||||
.lock()
|
.lock()
|
||||||
.await
|
.await
|
||||||
.metadata_db
|
.metadata_db
|
||||||
.get_user_workspaces(parameters.user_id)
|
.get_user_workspaces(parameters.user_id.to_string())
|
||||||
.await
|
.await
|
||||||
{
|
{
|
||||||
Ok(user_workspaces) => Ok(GetWorkspacesResult {
|
Ok(user_workspaces) => Ok(GetWorkspacesResult {
|
||||||
@ -66,7 +66,7 @@ pub async fn create_workspace<'s>(
|
|||||||
.lock()
|
.lock()
|
||||||
.await
|
.await
|
||||||
.metadata_db
|
.metadata_db
|
||||||
.create_normal_workspace(parameters.user_id)
|
.create_normal_workspace(parameters.user_id.to_string())
|
||||||
.await;
|
.await;
|
||||||
match new_workspace_result {
|
match new_workspace_result {
|
||||||
Ok(new_workspace) => {
|
Ok(new_workspace) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user