Skip to content

Commit

Permalink
[FEAT/#79] 요청 DTO final 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
seokbeom00 committed Jul 15, 2024
1 parent 02b40f7 commit 905a932
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ public ResponseEntity<Void> postAppointment(

@PatchMapping("/accept")
public ResponseEntity<Void> acceptAppointment(
@RequestBody AppointmentAcceptRequest appointmentAcceptRequest
@RequestBody final AppointmentAcceptRequest appointmentAcceptRequest
) {
appointmentService.acceptAppointment(appointmentAcceptRequest);
return ResponseEntity.ok().build();
}

@PatchMapping("/reject")
public ResponseEntity<Void> rejectAppointment(
@RequestBody AppointmentRejectRequest appointmentRejectRequest
@RequestBody final AppointmentRejectRequest appointmentRejectRequest
) {
appointmentService.rejectAppointment(appointmentRejectRequest);
return ResponseEntity.ok().build();
Expand Down

0 comments on commit 905a932

Please sign in to comment.