mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
feat: enable share menu (#1883)
Co-authored-by: JimmFly <yangjinfei001@gmail.com>
This commit is contained in:
@@ -381,7 +381,9 @@ export function createWorkspaceApis(prefixUrl = '/') {
|
||||
method: 'GET',
|
||||
}
|
||||
).then(r =>
|
||||
r.ok ? r.arrayBuffer() : Promise.reject(new Error(`${r.status}`))
|
||||
r.ok
|
||||
? r.arrayBuffer()
|
||||
: Promise.reject(new RequestError(MessageCode.noPermission))
|
||||
);
|
||||
},
|
||||
downloadWorkspace: async (
|
||||
|
||||
Reference in New Issue
Block a user