fix(server): don't sync blob meta on workspace deleted event (#10334)

close CLOUD-128
This commit is contained in:
fengmk2
2025-02-21 04:11:57 +00:00
parent 785951bbfa
commit 7f833f8c15
3 changed files with 43 additions and 3 deletions
@@ -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,