Skip to content

Commit

Permalink
fix download zip (#5393)
Browse files Browse the repository at this point in the history
Co-authored-by: mamoodi <[email protected]>
  • Loading branch information
rbren and mamoodi authored Dec 3, 2024
1 parent 438f19c commit d617f6f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions frontend/src/api/open-hands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,9 @@ class OpenHands {
* @returns Blob of the workspace zip
*/
static async getWorkspaceZip(): Promise<Blob> {
const response = await openHands.post(
"/api/zip-directory",
{},
{ responseType: "blob" },
);
const response = await openHands.get("/api/zip-directory", {
responseType: "blob",
});
return response.data;
}

Expand Down

0 comments on commit d617f6f

Please sign in to comment.