From 8aa16ef93712085f4d3227ee7d98132f70596443 Mon Sep 17 00:00:00 2001 From: xxeol2 Date: Mon, 14 Feb 2022 20:53:58 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=9D=B8=EC=A6=9D=EC=82=AC=EC=A7=84=20?= =?UTF-8?q?=EB=AA=A8=EC=95=84=EB=B3=B4=EA=B8=B0=EC=97=90=20timerRecord=20?= =?UTF-8?q?=ED=95=AD=EB=AA=A9=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions/api/routes/myroom/myroomRoomGET.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions/api/routes/myroom/myroomRoomGET.js b/functions/api/routes/myroom/myroomRoomGET.js index d1d2f0f..39f4510 100644 --- a/functions/api/routes/myroom/myroomRoomGET.js +++ b/functions/api/routes/myroom/myroomRoomGET.js @@ -33,6 +33,7 @@ module.exports = async (req, res) => { client = await db.connect(req); const room = await roomDB.getRoomById(client, roomId); + console.log(room); // @error 2. 존재하지 않는 습관방인 경우 if (!room) { res.status(statusCode.NO_CONTENT).send(util.fail(statusCode.NO_CONTENT, responseMessage.GET_ROOM_DATA_FAIL)); @@ -68,6 +69,7 @@ module.exports = async (req, res) => { certifyingImg: record.certifyingImg, sparkNum, status: record.status, + timerRecord: record.timerRecord, }; });