fix: upload file

This commit is contained in:
Warunee Tamkoo 2026-02-05 11:06:10 +07:00
parent af54914bbb
commit 906c6066e3

View file

@ -145,9 +145,9 @@ async function uploadProfile(code: string) {
async function uploadFileDoc(uploadUrl: string, file: any) {
try {
await axios.put(uploadUrl, file, {
headers: {
"Content-Type": file.type,
},
// headers: {
// "Content-Type": file.type,
// },
});
} catch (e) {
messageError($q, e);