fix api ออกคำสั่ง & set value step 1

This commit is contained in:
Warunee Tamkoo 2023-08-04 15:12:23 +07:00
parent cb2379a231
commit fef7c21fcd
3 changed files with 89 additions and 259 deletions

View file

@ -423,7 +423,7 @@ const clickDelete = (id: string) => {
const deleteData = async (id: string) => {
showLoader();
await http
.delete(config.API.detailOrder(id))
.delete(config.API.deleteOrder(id))
.then((res) => {
success($q, "ลบข้อมูลสำเร็จ");
})