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

fix : 리스트 표시 name -> nickname #210

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import { CommentModule } from './comment/comment.module';
import { DetailScheduleModule } from './detail-schedule/detail-schedule.module';
import { S3Module } from './utils/S3.module';
import { FollowModule } from './follow/follow.module';
import { MemberModule } from './member/member.module';
import { SearchModule } from './search/search.module';
import { MapModule } from './map/map.module';
import { MateModule } from './mate/mate.module';
Expand All @@ -40,7 +39,6 @@ import { NotificationModule } from './notification/notification.module';
CommentModule,
S3Module,
FollowModule,
MemberModule,
SearchModule,
MapModule,
MateModule,
Expand Down
65 changes: 0 additions & 65 deletions src/member/member.controller.ts

This file was deleted.

12 changes: 0 additions & 12 deletions src/member/member.module.ts

This file was deleted.

97 changes: 0 additions & 97 deletions src/member/member.service.ts

This file was deleted.

12 changes: 6 additions & 6 deletions src/rule/rule.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class RuleService {
const detailMember = new DetailMemberDto;
const memberEntity = invitation.member;
detailMember.id = memberEntity.id;
detailMember.name = memberEntity.name;
detailMember.name = memberEntity.nickname;

// 사용자 프로필 이미지
const image = memberEntity.profileImage;
Expand Down Expand Up @@ -200,7 +200,7 @@ export class RuleService {

getCommentDto.id = comment.id;
getCommentDto.writerId = comment.user.id;
getCommentDto.name = comment.user.name;
getCommentDto.name = comment.user.nickname;
getCommentDto.content = comment.content;
getCommentDto.updated = comment.updated;

Expand Down Expand Up @@ -281,7 +281,7 @@ export class RuleService {

console.log('memberEntity : ', memberEntity);
memberDto.id = memberEntity.id;
memberDto.name = memberEntity.name;
memberDto.name = memberEntity.nickname;
memberDto.email = memberEntity.email;
memberDto.introduction = memberEntity.introduction;

Expand Down Expand Up @@ -363,7 +363,7 @@ export class RuleService {

console.log('user.id : ', user.id);
memberPair.id = user.id;
memberPair.name = user.name;
memberPair.name = user.nickname;

// 사용자 프로필 이미지
const image = user.profileImage;
Expand Down Expand Up @@ -434,7 +434,7 @@ export class RuleService {
const dtoAtCreate: GetSearchMemberAtCreateDto = new GetSearchMemberAtCreateDto();

dtoAtCreate.id = user.id;
dtoAtCreate.name = user.name;
dtoAtCreate.name = user.nickname;
dtoAtCreate.email = user.email;
dtoAtCreate.introduction = user.introduction;

Expand Down Expand Up @@ -517,7 +517,7 @@ export class RuleService {
const dto: GetSearchMemberDto = new GetSearchMemberDto();

dto.id = user.id;
dto.name = user.name;
dto.name = user.nickname;
dto.email = user.email;
dto.introduction = user.introduction;

Expand Down