Skip to content

Commit

Permalink
[CHORE] 컨벤션 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
paragon0107 committed Sep 23, 2024
1 parent 7653741 commit 43681c3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.tiki.server.emailVerification.dto.request;

import com.tiki.server.common.entity.Email;
import lombok.NonNull;

public record CodeVerificationRequest(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import com.tiki.server.emailVerification.dto.request.CodeVerificationRequest;
import com.tiki.server.emailVerification.domain.EmailVerification;
import com.tiki.server.emailVerification.domain.MailSender;
import com.tiki.server.emailVerification.exception.EmailVerificationException;
import com.tiki.server.member.adapter.MemberFinder;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
Expand Down Expand Up @@ -44,7 +43,6 @@ public void sendChangingPassword(EmailRequest mailRequest) {
public void checkCode(CodeVerificationRequest codeVerificationRequest) {
Email email = Email.from(codeVerificationRequest.email());
EmailVerification emailVerification = emailVerificationFinder.findById(email.getEmail());

emailVerification.verify(codeVerificationRequest.code());
}
}

0 comments on commit 43681c3

Please sign in to comment.