mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-07 20:31:33 +08:00
feat: refresh workspaces after create and delete
This commit is contained in:
@@ -155,7 +155,7 @@ export async function downloadWorkspace(
|
||||
}
|
||||
|
||||
export async function uploadBlob(params: { blob: Blob }): Promise<string> {
|
||||
return client.post('/api/blob', { body: params.blob }).text();
|
||||
return client.put('/api/blob', { body: params.blob }).text();
|
||||
}
|
||||
|
||||
export async function getBlob(params: {
|
||||
|
||||
Reference in New Issue
Block a user