Skip to content

Commit b22e4b7

Browse files
densumeshcdxker
authored andcommitted
bugfix: remove file_mime_type from req in search frontend
1 parent a426fa8 commit b22e4b7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

search/src/components/UploadFile.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,11 @@ export const UploadFile = () => {
5656
.replace(/=+$/, ""); // Remove ending '='
5757

5858
const file_name = file()?.name;
59-
const file_mime_type = file()?.type;
6059

6160
// eslint-disable-next-line @typescript-eslint/no-explicit-any
6261
const requestBody: any = {
6362
base64_file: base64File,
6463
file_name: file_name,
65-
file_mime_type: file_mime_type,
6664
link: link(),
6765
tag_set: tagSet().split(","),
6866
};

0 commit comments

Comments
 (0)