We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
private LoginSuccessResponse getTokenDto( final UserInfoResponse userResponse ) { try { if (userService.isExistingUser(userResponse.socialId(), userResponse.socialType())) { Long userId = userService.getBySocialId(userResponse.socialId(), userResponse.socialType()).getId(); return getTokenByUserId(userId, userService.getJoinedRoleFromUser(userId)); } else { Long id = userService.createUser(userResponse.socialId(), userResponse.socialType(), userResponse.email()); return getTokenByUserId(id, new HashMap<>()); } } catch (DataIntegrityViolationException e) { Long userId = userService.getBySocialId(userResponse.socialId(), userResponse.socialType()).getId(); return getTokenByUserId(userId, userService.getJoinedRoleFromUser(userId)); } }
이 부분 너무 비효율적이라 리팩토링 진행하겠습니다~
The text was updated successfully, but these errors were encountered:
sohyundoh
No branches or pull requests
📌 Feature Issue
📝 To-do
이 부분 너무 비효율적이라 리팩토링 진행하겠습니다~
The text was updated successfully, but these errors were encountered: