Skip to content

Commit 5b09c4d

Browse files
committed
fix: removed blob.name references since name field doesnt exist on blob
1 parent 74dc476 commit 5b09c4d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/frontend/src/apis/finance.api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ export const downloadBlobsToPdf = async (blobData: Blob[], filename: string) =>
327327
break;
328328
}
329329
default: {
330-
console.log(blob.type + 'type not supported and will not be added to the PDF, name: ' + blob.name);
330+
console.log(blob.type + ' type not supported and will not be added to the PDF');
331331
// throw new Error(blob.type + ' type not supported');
332332
}
333333
}

src/frontend/src/pages/AdminToolsPage/EditGuestView/EditLogo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const EditLogo = () => {
6767
<EditLogoForm
6868
onSubmit={onSubmit}
6969
onHide={handleClose}
70-
orgLogo={imageData ? new File([imageData], imageData.name, { type: imageData.type }) : undefined}
70+
orgLogo={imageData ? new File([imageData], 'logo', { type: imageData.type }) : undefined}
7171
/>
7272
) : (
7373
<>

0 commit comments

Comments
 (0)