แก้ path อุทธรณ์

This commit is contained in:
Warunee Tamkoo 2023-12-22 17:44:46 +07:00
parent ee0233a27e
commit 8254bd9dfd

View file

@ -30,10 +30,10 @@ async function onSubmit(data: any) {
formData.append("file", data.file);
showLoader();
http
.post(config.API.appealAdd(), formData)
.post(config.API.appealAdd() + "/admin", formData)
.then((res) => {
success($q, "บันทึกข้อมูลสำเร็จ");
router.push(`/discipline-appealcomplain/${res.data.result}`)
router.push(`/discipline-appealcomplain/${res.data.result}`);
})
.catch((e) => {
messageError($q, e);