mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-24 13:17:10 +08:00
Merge branch 'feat/datacenter-dev' of https://github.com/toeverything/AFFiNE into feat/datacenter-dev
This commit is contained in:
@@ -176,7 +176,7 @@ export async function downloadWorkspace(
|
|||||||
published = false
|
published = false
|
||||||
): Promise<ArrayBuffer> {
|
): Promise<ArrayBuffer> {
|
||||||
if (published) {
|
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();
|
return client.get(`api/workspace/${workspaceId}/doc`).arrayBuffer();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user