feat: support page sharing by meta (#1858)

This commit is contained in:
Himself65
2023-04-10 17:13:44 -05:00
committed by GitHub
parent ea2a146c82
commit 7fea55d81f
4 changed files with 110 additions and 18 deletions

View File

@@ -380,7 +380,9 @@ export function createWorkspaceApis(prefixUrl = '/') {
{
method: 'GET',
}
).then(r => r.arrayBuffer());
).then(r =>
r.ok ? r.arrayBuffer() : Promise.reject(new Error(`${r.status}`))
);
},
downloadWorkspace: async (
workspaceId: string,