Email Confirm API Media Type changed

This commit is contained in:
Rebwon
2021-09-28 11:05:23 +09:00
committed by MaengSol
parent 9dc2d0418d
commit bf8d021588

View File

@@ -39,7 +39,9 @@ public final class AccountCommandApi {
/** /**
* 임시로 "http://localhost:3000/login"로 리다이렉트 되도록 설정. * 임시로 "http://localhost:3000/login"로 리다이렉트 되도록 설정.
*/ */
@GetMapping("/api/accounts/authorize") @GetMapping(value = "/api/accounts/authorize",
produces = MediaType.ALL_VALUE,
consumes = MediaType.ALL_VALUE)
public ResponseEntity<Void> registerConfirm( public ResponseEntity<Void> registerConfirm(
@ModelAttribute @Valid ConfirmRegisterAccountCommand command) throws Exception { @ModelAttribute @Valid ConfirmRegisterAccountCommand command) throws Exception {
accountFacade.registerConfirm(command); accountFacade.registerConfirm(command);