Skip to content

Commit

Permalink
Merge pull request #527 from boostcampwm2023/BE-ChangeBlockUser-#524
Browse files Browse the repository at this point in the history
[BE] 차단 해제후 목록에서 안뜨는 에러 수정
  • Loading branch information
namewhat99 authored Dec 13, 2023
2 parents 554fe12 + 738b0c7 commit 8088277
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions BE/src/post/post.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ export class PostService {
const blockedUsersId: string[] = (
await this.blockUserRepository.find({
where: { blocker: userId },
relations: ['blockedUser'],
withDeleted: true,
// relations: ['blockedUser'],
// withDeleted: true,
})
).map((blockedUser) => blockedUser.blockedUser.user_hash);
).map((blockedUser) => blockedUser.blocked_user);

const blockedPostsId: number[] = (
await this.blockPostRepository.find({
Expand Down

0 comments on commit 8088277

Please sign in to comment.