diff --git a/apps/dm/app/store/map/index.tsx b/apps/dm/app/store/map/index.tsx index 8ed8fce40..f40e169f2 100644 --- a/apps/dm/app/store/map/index.tsx +++ b/apps/dm/app/store/map/index.tsx @@ -14,7 +14,7 @@ const getRuseFclt = async ( ) => { const checkWrRegListRes = await checkWrRegList(); - let url = `/prcsFclt/ruseInfo/${page ? page : 1}/11/A/${sggOrCity ? sggOrCity : "11"}/0/1/SW`; + let url = `/prcsFclt/ruseInfo/${page ? page : 1}/5/A/${sggOrCity ? sggOrCity : "0"}/0/1/SW`; console.log(' checkWrRegListRes ', checkWrRegListRes) const ruseList = checkWrRegListRes.data.filter((item: string) => item !== ""); @@ -31,6 +31,7 @@ const getRuseFclt = async ( body: JSON.stringify(ruseList), }); + const hasuList = await response.json().then((res: any) => { const data =res.data @@ -49,6 +50,7 @@ const getRuseFclt = async ( return{ data: data, count: res.count }; }); + return hasuList };