Skip to content

Commit

Permalink
🐛Fixed legacy typo
Browse files Browse the repository at this point in the history
  • Loading branch information
carefree0910 committed Aug 1, 2023
1 parent efe0365 commit 7396c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cfdraw/.web/src/actions/export.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { uploadImage } from "./uploadImage";
const isImage = (format: DownloadFormat) => format === "JPG" || format === "PNG";

export function fetchImage(data: { url: string; jpeg: boolean }): Promise<Blob> {
return Requests.postJson<Blob>("_python", "/fetch_image", data, "blob");
return Requests.postJson<Blob>("_python", "/fetch_image", data, { responseType: "blob" });
}

export class Exporter {
Expand Down

0 comments on commit 7396c30

Please sign in to comment.