Skip to content

Commit

Permalink
hotfix: trim 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
ori0o0p committed Aug 19, 2024
1 parent 8eb9bd0 commit 613c59f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class TeacherLoginService implements TeacherLoginUseCase {
private final PasswordEncoder passwordEncoder;

public TokenResponse teacherLogin(LoginRequest request) {
return teacherMongoRepository.existsByAccountId(request.account_id().trim())
return teacherMongoRepository.existsByAccountId(request.account_id())
? loginExistingTeacher(request)
: registerAndLoginNewTeacher(request);
}
Expand Down

0 comments on commit 613c59f

Please sign in to comment.