Skip to content

Commit

Permalink
refactor: 메일 인증 코드 전송 method get으로 수정 (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdohyung committed Nov 19, 2023
1 parent 7c6e9e6 commit 820fe95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class MailController {
@ApiResponse(responseCode = "200", description = "인증 코드 전송 성공, 보낸 인증 코드를 반환합니다.",
content = @Content(schema = @Schema(implementation = ErrorResponse.class)))
})
@PostMapping("/mail")
@GetMapping("/mail")
public ResponseEntity<Integer> sendCode(@Valid @RequestBody MailRequest emailRequest) {
return ResponseEntity.ok(mailService.sendAuthenticationCode(emailRequest));
}
Expand Down

0 comments on commit 820fe95

Please sign in to comment.