แก้ path

This commit is contained in:
STW_TTTY\stwtt 2024-10-01 14:46:58 +07:00
parent 2bb4e7764c
commit fb6f358ed9

View file

@ -216,7 +216,7 @@ async function getListData() {
function onDownloadFile(id: string) {
showLoader();
http
.get(config.API.file("IDP", "ดาวน์โหลดเอกสารหลักฐาน", id))
.get(config.API.file("IDP", "ยื่นคำร้องขอเพิ่มข้อมูลการพัฒนารายบุคคล", id))
.then((res) => {
if (res.data.length !== 0) {
downloadUrl(id, res.data[0].fileName);
@ -240,7 +240,7 @@ function downloadUrl(id: string, fileName: string) {
.get(
config.API.fileByFile(
"IDP",
"ดาวน์โหลดเอกสารหลักฐาน",
"ยื่นคำร้องขอเพิ่มข้อมูลการพัฒนารายบุคคล",
id,
fileName
)