diff --git a/src/main/java/com/loafle/overflow/central/module/email/service/CentralEmailAuthService.java b/src/main/java/com/loafle/overflow/central/module/email/service/CentralEmailAuthService.java index f4518dd..c71cb88 100644 --- a/src/main/java/com/loafle/overflow/central/module/email/service/CentralEmailAuthService.java +++ b/src/main/java/com/loafle/overflow/central/module/email/service/CentralEmailAuthService.java @@ -132,12 +132,12 @@ public class CentralEmailAuthService implements EmailAuthService { } public EmailAuth sendEmailByMember(Member member) throws OverflowException { - return this.sendEMail(member, 1); + return this.sendEMail(member, (short)1); } // Todo Send Email Refactoring public EmailAuth sendEmailResetPassword(Member member) throws OverflowException { - return this.sendEMail(member, 2); + return this.sendEMail(member, (short)2); } private boolean isValidateTime(EmailAuth auth) { @@ -161,7 +161,7 @@ public class CentralEmailAuthService implements EmailAuthService { return true; } - private EmailAuth sendEMail(Member member, int type) throws OverflowException { + private EmailAuth sendEMail(Member member, Short type) throws OverflowException { String key = GenerateKey.getKey(); // String enMail = emailSender.encrypt(key);