Skip to content

Commit

Permalink
Refactor: upload_html to upload_pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
swgvenghy committed Aug 8, 2024
1 parent acc1d90 commit 1036d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/use-html-file-submit.hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const useHtmlFileSubmit = (type: string, category: string, html_file: Fil
console.log(formdata.get('category'));
console.log(formdata.get('html_file'));
try {
const response = await llm_axiosInstance.post('/upload_html/', formdata, {
const response = await llm_axiosInstance.post('/upload_pdf/', formdata, {
headers: {
'Content-Type': 'multipart/form-data',
},
Expand Down

0 comments on commit 1036d4d

Please sign in to comment.