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());