Skip to content

Commit

Permalink
[refactor] #6 MailProvider 접근 제한자 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ziiyouth committed Dec 27, 2023
1 parent 73f1b4a commit 028a88d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public EmailResponseDto sendMail(EmailPostRequestDto emailPostRequestDto, String
}
}

public static String createNumericCode() {
private static String createNumericCode() {
Random random = new Random();
StringBuilder code = new StringBuilder();
for (int i = 0; i < 6; i++) {
Expand All @@ -49,7 +49,7 @@ public static String createNumericCode() {
return code.toString();
}

public String setContext(String code, String type) {
private String setContext(String code, String type) {
Context context = new Context();
context.setVariable("code", code);
return templateEngine.process(type, context);
Expand Down

0 comments on commit 028a88d

Please sign in to comment.