From 99ba5265c768ba9df7141aca713c718d7dbae76b Mon Sep 17 00:00:00 2001 From: JYKIM317 Date: Thu, 5 Dec 2024 01:23:08 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=8C=94=EB=A1=9C=EC=9A=B0=20=EB=A6=AC?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=20=EB=B0=98=ED=99=98=20=EB=AC=B8=EC=A0=9C=20?= =?UTF-8?q?=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 팔로우 리스트 반환 시 빈 객체를 반환하는 문제를 해결했다. --- applicationServer/src/live/live.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applicationServer/src/live/live.service.ts b/applicationServer/src/live/live.service.ts index e58270a..984fc13 100644 --- a/applicationServer/src/live/live.service.ts +++ b/applicationServer/src/live/live.service.ts @@ -161,9 +161,9 @@ export class LiveService { const followList = await this.memberService.findMembersWithFollowTable(memberId); const onAir = []; const offAir = []; - followList.forEach((member) => { + followList.forEach(async (member) => { if (live.has(member.broadcast_id)) { - onAir.push(this.responseLiveData(member.broadcast_id)); + onAir.push(await this.responseLiveData(member.broadcast_id)); } else { const { name, profile_image, broadcast_id, follower_count } = member;