Skip to content

Commit

Permalink
feat withdrawal reason
Browse files Browse the repository at this point in the history
  • Loading branch information
Hong0329 committed Aug 23, 2024
1 parent 629315a commit 1ca0d2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package com.wable.www.WableServer.api.member.dto.request;

import java.util.List;

public record MemberWithdrawalPatchRequestDto(
String deleted_reason
List<String> deleted_reason
) {
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ public void withdrawalMember(Long memberId, MemberWithdrawalPatchRequestDto memb

member.updateNickname("탈퇴한 회원");
member.updateProfileUrl(SYSTEM_IMAGE_S3);
member.updateDeletedReason(memberWithdrawalPatchRequestDto.deleted_reason());
String combineReason = String.join(",", memberWithdrawalPatchRequestDto.deleted_reason());
member.updateDeletedReason(combineReason);

// notificationRepository.deleteBynotificationTargetMember(member);

Expand Down

0 comments on commit 1ca0d2c

Please sign in to comment.