Skip to content

Commit

Permalink
bugfix: remove file_mime_type from req in search frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
densumesh authored and cdxker committed Apr 11, 2024
1 parent a426fa8 commit b22e4b7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions search/src/components/UploadFile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,11 @@ export const UploadFile = () => {
.replace(/=+$/, ""); // Remove ending '='

const file_name = file()?.name;
const file_mime_type = file()?.type;

// eslint-disable-next-line @typescript-eslint/no-explicit-any
const requestBody: any = {
base64_file: base64File,
file_name: file_name,
file_mime_type: file_mime_type,
link: link(),
tag_set: tagSet().split(","),
};
Expand Down

0 comments on commit b22e4b7

Please sign in to comment.