Skip to content

Commit

Permalink
hotfix: 방장 방 삭제 버그
Browse files Browse the repository at this point in the history
  • Loading branch information
ymkim97 committed Nov 29, 2023
1 parent 6a39b9d commit 7a5b178
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ public void deportParticipant(Long managerId, Long roomId, Long memberId) {
validateManagerAuthorization(managerParticipant);

Room room = managerParticipant.getRoom();
memberParticipant.removeRoom();
participantRepository.delete(memberParticipant);
room.decreaseCurrentUserCount();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public RoomDetailsResponse getRoomDetails(@Auth AuthMember authMember, @PathVari
@PostMapping("/{roomId}/certification")
@ResponseStatus(HttpStatus.CREATED)
public void certifyRoom(@Auth AuthMember authMember, @PathVariable("roomId") Long roomId,
@RequestPart("file") Map<String, MultipartFile> multipartFiles) {
@RequestPart(name = "file") Map<String, MultipartFile> multipartFiles) {

log.info("multipartFiles Size = {}", multipartFiles.size());
log.info(multipartFiles.toString());
Expand Down

0 comments on commit 7a5b178

Please sign in to comment.