Skip to content

Commit

Permalink
Merge pull request #187 from TeamSparker/feature/#185
Browse files Browse the repository at this point in the history
[FEAT] 습관방 리스트에 쉴래요 누른 인원수 포함해서 인증 인원으로 전달
  • Loading branch information
youngkwon02 authored Feb 17, 2022
2 parents 89e3387 + 1ab7614 commit c1e1724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/routes/room/roomListGET.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c1e1724

Please sign in to comment.