Merge branch 'feat/datacenter-dev' of https://github.com/toeverything/AFFiNE into feat/datacenter-dev

This commit is contained in:
DiamondThree 2023-01-11 22:42:10 +08:00
commit 79b0bb9de9

View File

@ -176,7 +176,7 @@ export async function downloadWorkspace(
published = false
): Promise<ArrayBuffer> {
if (published) {
return bareClient.get(`api/workspace/${workspaceId}/doc`).arrayBuffer();
return bareClient.get(`api/public/doc/${workspaceId}`).arrayBuffer();
}
return client.get(`api/workspace/${workspaceId}/doc`).arrayBuffer();
}