Skip to content

Commit f31bec6

Browse files
committed
[FIX] 매직넘버 리턴값 code에서 phone으로 변경
1 parent 856ad84 commit f31bec6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/sopt/makers/authentication/application/service/auth/VerifyVerificationService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class VerifyVerificationService implements VerifyPhoneVerificationUsecase
2424
@Transactional
2525
public VerifyVerificationResult verify(VerifyVerificationCommand command) {
2626
if (isMagicVerification(command.phone(), command.code())) {
27-
return new VerifyVerificationResult(magicLoginProperty.name(), magicLoginProperty.code());
27+
return new VerifyVerificationResult(magicLoginProperty.name(), magicLoginProperty.phone());
2828
}
2929

3030
PhoneVerification targetVerification =

0 commit comments

Comments
 (0)