feat: refresh workspaces after create and delete

This commit is contained in:
MingLiang Wang
2022-12-22 22:44:22 +08:00
parent a55dd77541
commit d89f19e542
6 changed files with 18 additions and 5 deletions
+1 -1
View File
@@ -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: {