From 0713afe13bf9ccf26ed3ad3889ac2809e210e6bc Mon Sep 17 00:00:00 2001 From: wellbeing-dough Date: Mon, 4 Mar 2024 14:44:32 +0900 Subject: [PATCH] =?UTF-8?q?[Feat]=20:=20=EA=B1=B0=EC=A0=88=20=EA=B0=80?= =?UTF-8?q?=EC=A7=9C=20=EC=9D=91=EB=8B=B5=EA=B0=92=20(=ED=98=B8=EC=A4=80?= =?UTF-8?q?=EB=8B=98)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../studyhubserver/apply/controller/ApplyController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/kr/co/studyhubinu/studyhubserver/apply/controller/ApplyController.java b/src/main/java/kr/co/studyhubinu/studyhubserver/apply/controller/ApplyController.java index 553fd0b..1d5abf1 100644 --- a/src/main/java/kr/co/studyhubinu/studyhubserver/apply/controller/ApplyController.java +++ b/src/main/java/kr/co/studyhubinu/studyhubserver/apply/controller/ApplyController.java @@ -39,9 +39,9 @@ public ResponseEntity enrollStudy(UserId userId, EnrollApplyRequest @Operation(summary = "스터디 참여 신청 거절", description = "JWT 헤더에 보내주시면 됩니다!") @PutMapping("/v1/study-reject") - public ResponseEntity rejectApply(@RequestBody @Valid final RejectApplyRequest rejectApplyRequest, final UserId userId) { + public ResponseEntity rejectApply(@RequestBody @Valid final RejectApplyRequest rejectApplyRequest, final UserId userId) { applyService.rejectApply(rejectApplyRequest, userId); - return ResponseEntity.ok().build(); + return ResponseEntity.ok().body(userId.getId()); } @Operation(summary = "스터디 참여 신청 수락",