From 7a5b178badb9a07d453dd484df5757b5ee06b747 Mon Sep 17 00:00:00 2001 From: ymkim97 Date: Thu, 30 Nov 2023 00:04:59 +0900 Subject: [PATCH] =?UTF-8?q?hotfix:=20=EB=B0=A9=EC=9E=A5=20=EB=B0=A9=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C=20=EB=B2=84=EA=B7=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/moabam/api/application/room/RoomService.java | 1 + src/main/java/com/moabam/api/presentation/RoomController.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/moabam/api/application/room/RoomService.java b/src/main/java/com/moabam/api/application/room/RoomService.java index b4a90fcd..e68b4b7a 100644 --- a/src/main/java/com/moabam/api/application/room/RoomService.java +++ b/src/main/java/com/moabam/api/application/room/RoomService.java @@ -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(); diff --git a/src/main/java/com/moabam/api/presentation/RoomController.java b/src/main/java/com/moabam/api/presentation/RoomController.java index 4d2b609b..66bb4bed 100644 --- a/src/main/java/com/moabam/api/presentation/RoomController.java +++ b/src/main/java/com/moabam/api/presentation/RoomController.java @@ -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 multipartFiles) { + @RequestPart(name = "file") Map multipartFiles) { log.info("multipartFiles Size = {}", multipartFiles.size()); log.info(multipartFiles.toString());