Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
fix : 팔로우리스트 탈퇴한 회원 제외 (#232)
Browse files Browse the repository at this point in the history
[메이트탐색 : 팔로우, 팔로잉 리스트]

: 탈퇴한 회원 제외
  • Loading branch information
yewonahn authored Feb 16, 2024
2 parents d7354e0 + d3c0ff7 commit 3e596bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/user/user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ export class UserService {
async getFollowingList(userId: number) {
try {
return await UserFollowingEntity.find({
where: { user: { id: userId } },
where: { user: { id: userId, isQuit: false } },
relations: { followUser: { profileImage: true } },
});
} catch (error) {
Expand All @@ -446,7 +446,7 @@ export class UserService {
async getFollowerList(userId: number) {
try {
return await UserFollowingEntity.find({
where: { followUser: { id: userId } },
where: { followUser: { id: userId, isQuit: false } },
relations: { user: { profileImage: true } },
});
} catch (error) {
Expand Down

0 comments on commit 3e596bb

Please sign in to comment.