diff --git a/apps/wr/app/store/ruseFcltMng/fcltReg/htdflReg/index.tsx b/apps/wr/app/store/ruseFcltMng/fcltReg/htdflReg/index.tsx index 8c7a0b2c5..0dc6e3f75 100644 --- a/apps/wr/app/store/ruseFcltMng/fcltReg/htdflReg/index.tsx +++ b/apps/wr/app/store/ruseFcltMng/fcltReg/htdflReg/index.tsx @@ -225,7 +225,7 @@ export const htdflFacActionsExport: (set: any) => htdflFacSActions = ( // 온배수시설을 삭제한다. htdflBdstDelete: async (data: customHtdflBdst, code: string | number) => { try { - await deleteFectch(`/reuseFc/htdflInfo/${data.reuseBuilding?.[0]?.bdstRuseFcltSn}`); + await deleteFectch(`/drain/facility/${data.reuseBuilding?.[0]?.bdstRuseFcltSn}`); toast.success(`${data.bdstNm} 시설이 삭제되었습니다.`); const htdflRes = await initFetch(String(code)); diff --git a/apps/wr/app/store/ruseFcltMng/fcltReg/rswtReg/index.tsx b/apps/wr/app/store/ruseFcltMng/fcltReg/rswtReg/index.tsx index a0611fd8a..f38636507 100644 --- a/apps/wr/app/store/ruseFcltMng/fcltReg/rswtReg/index.tsx +++ b/apps/wr/app/store/ruseFcltMng/fcltReg/rswtReg/index.tsx @@ -251,7 +251,7 @@ export const rswtFacActionsExport: (set: any) => rswtFacSActions = ( // 중수도시설을 삭제한다. rswtBdstDelete: async (data: customRswtBdst, code: string | number) => { try { - await deleteFectch(`/reuseFc/rswtInfo/${data.reuseBuilding?.[0]?.bdstRuseFcltSn}`); + await deleteFectch(`/reuseFc/waterreuseFc/${data.reuseBuilding?.[0]?.bdstRuseFcltSn}`); toast.success(`${data.bdstNm} 시설이 삭제되었습니다.`); const rswtRes = await initFetch(code);