diff --git a/src/apis/board2.js b/src/apis/board2.js index 224dff6..d08b5bb 100644 --- a/src/apis/board2.js +++ b/src/apis/board2.js @@ -11,7 +11,7 @@ export async function findBoards2(params) { const res = await axios.get(GET_BOARD_LIST2, { params }); console.log(res); if (res.success) { - res.data = res.data.map((d, idx) => ({ ...d, rowId: setRowId(params, idx) })); + res.data = res.data.resultList.map((d, idx) => ({ ...d, rowId: setRowId(params, idx) })); return res; } return res;