mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-18 18:46:19 +08:00
fix(server): don't sync blob meta on workspace deleted event (#10334)
close CLOUD-128
This commit is contained in:
@@ -85,6 +85,21 @@ export async function updateWorkspace(
|
||||
return res.updateWorkspace.public;
|
||||
}
|
||||
|
||||
export async function deleteWorkspace(
|
||||
app: TestingApp,
|
||||
workspaceId: string
|
||||
): Promise<boolean> {
|
||||
const res = await app.gql(
|
||||
`
|
||||
mutation {
|
||||
deleteWorkspace(id: "${workspaceId}")
|
||||
}
|
||||
`
|
||||
);
|
||||
|
||||
return res.deleteWorkspace;
|
||||
}
|
||||
|
||||
export async function publishDoc(
|
||||
app: TestingApp,
|
||||
workspaceId: string,
|
||||
|
||||
Reference in New Issue
Block a user