From f20d1bc914b761a20e9f53bf824ce955a3911a03 Mon Sep 17 00:00:00 2001 From: xxeol Date: Wed, 19 Jan 2022 16:59:39 +0900 Subject: [PATCH] fix: response body roomId string->int --- functions/api/routes/room/roomDetailGET.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/api/routes/room/roomDetailGET.js b/functions/api/routes/room/roomDetailGET.js index 02cd3e1..0883a8a 100644 --- a/functions/api/routes/room/roomDetailGET.js +++ b/functions/api/routes/room/roomDetailGET.js @@ -87,7 +87,7 @@ module.exports = async (req, res) => { console.log('otherRecords', otherRecords); const data = { - roomId, + roomId: room.roomId, roomName: room.roomName, startDate: startDate.format('YYYY.MM.DD.'), endDate: endDate.format('YYYY.MM.DD.'),