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

Commit

Permalink
[Refactor] 메이트 프로필 탈퇴 여부 속성 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
JangYouJung committed Feb 16, 2024
1 parent 313bbaa commit cf93026
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/mate/dto/mate-profile-response.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ export class MateProfileResponseDto {
signatures: number; // 시그니처 개수
follower: number; // 팔로워 수
following: number; // 팔로잉 수
isQuit: boolean; // 탈퇴 여부
}
1 change: 1 addition & 0 deletions src/mate/mate.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ export class MateService{
mateProfileResponseDto._id = targetUserEntity.id;
mateProfileResponseDto.nickname = targetUserEntity.nickname;
mateProfileResponseDto.introduction = targetUserEntity.introduction;
mateProfileResponseDto.isQuit = targetUserEntity.isQuit;

// 타겟 유저 프로필 이미지 가져오기
const userProfileImageEntity = await this.userService.getProfileImage(targetUserId);
Expand Down

0 comments on commit cf93026

Please sign in to comment.