Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 4m10s

* develop:
  fix: upload file
This commit is contained in:
Warunee Tamkoo 2026-02-05 11:07:55 +07:00
commit 1da61d9be9

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);