Skip to content

Commit

Permalink
[Feat] : 거절 가짜 응답값 (호준님)
Browse files Browse the repository at this point in the history
  • Loading branch information
wellbeing-dough committed Mar 4, 2024
1 parent dd371b5 commit 0713afe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ public ResponseEntity<HttpStatus> enrollStudy(UserId userId, EnrollApplyRequest
@Operation(summary = "스터디 참여 신청 거절",
description = "JWT 헤더에 보내주시면 됩니다!")
@PutMapping("/v1/study-reject")
public ResponseEntity<HttpStatus> rejectApply(@RequestBody @Valid final RejectApplyRequest rejectApplyRequest, final UserId userId) {
public ResponseEntity<Long> 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 = "스터디 참여 신청 수락",
Expand Down

0 comments on commit 0713afe

Please sign in to comment.