fix: API 경로 수정

This commit is contained in:
swcho
2025-11-07 14:02:54 +09:00
parent 87fed1d59c
commit 68c84588b7
2 changed files with 2 additions and 2 deletions
@@ -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));
@@ -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);