diff --git a/src/main/java/com/example/daemawiki/domain/mail/service/MailVerify.java b/src/main/java/com/example/daemawiki/domain/mail/service/MailVerify.java index 3a4fd649..86eebe28 100644 --- a/src/main/java/com/example/daemawiki/domain/mail/service/MailVerify.java +++ b/src/main/java/com/example/daemawiki/domain/mail/service/MailVerify.java @@ -18,7 +18,7 @@ public MailVerify(AuthMailRepository authMailRepository, AuthCodeRepository auth this.codeRepository = authCodeRepository; } - public Mono verify(AuthCodeVerifyRequest request) { + public Mono execute(AuthCodeVerifyRequest request) { return getAuthCode(request.mail(), request.authCode()) .flatMap(authCode -> mailRepository.save(AuthMail.builder() .mail(request.mail())