fix: 상류관로 보기 에러 수정 (데이터 응답 구조 수정)

This commit is contained in:
swcho
2025-12-26 10:49:16 +09:00
parent c195621128
commit be5ccc779a
@@ -41,7 +41,8 @@ export async function searchUpperPpls(gisMap: any, fcltMngNo: any) {
}
// JSON 파싱 시도
data = JSON.parse(text);
const response = JSON.parse(text);
data = response.data;
} catch (error) {
console.error("JSON parsing error:", error);
alert(`해당 맨홀의 상류관로를 찾을 수 없습니다.`);