From 1ab761418c126f1ad72b475447817d5226043559 Mon Sep 17 00:00:00 2001 From: youngkwon02 Date: Thu, 17 Feb 2022 16:08:46 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20roomListGET=20=EC=9D=B8=EC=A6=9D=20?= =?UTF-8?q?=EC=99=84=EB=A3=8C=ED=95=9C=20=EC=9D=B8=EC=9B=90=20=EC=88=98?= =?UTF-8?q?=EC=97=90=20=EC=89=B4=EB=9E=98=EC=9A=94=20=EC=82=AC=EC=9A=A9?= =?UTF-8?q?=EC=9E=90=20=ED=8F=AC=ED=95=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions/api/routes/room/roomListGET.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/api/routes/room/roomListGET.js b/functions/api/routes/room/roomListGET.js index 40b8063..c47cb66 100644 --- a/functions/api/routes/room/roomListGET.js +++ b/functions/api/routes/room/roomListGET.js @@ -95,7 +95,7 @@ module.exports = async (req, res) => { roomUserStatus.push(userStatus[0].status); const doneMembers = profiles.filter(Boolean).filter((o) => { - if (o.roomId === roomId && o.status === 'DONE') { + if (o.roomId === roomId && (o.status === 'REST' || o.status === 'DONE')) { return true; } return false;