Skip to content

Commit

Permalink
fix: 팔로우 리스트 반환 문제 해결
Browse files Browse the repository at this point in the history
팔로우 리스트 반환 시 빈 객체를 반환하는 문제를 해결했다.
  • Loading branch information
JYKIM317 committed Dec 4, 2024
1 parent abfb62a commit 99ba526
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions applicationServer/src/live/live.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 99ba526

Please sign in to comment.