Skip to content

Commit

Permalink
πŸ› :: 잘λͺ»λœ μ˜ˆμ™Έ 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
gurdl0525 committed Oct 19, 2023
1 parent 1a7395c commit 9235984
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class SmsServiceImpl(
@Transactional
override fun sendPhoneNumberMessage(req: PhoneNumberSmsRequest): SingleMessageSentResponse? {

if (userRepository.existsByPhoneNumber(req.phoneNumber!!)) throw AlreadySignUpException
if (!userRepository.existsByPhoneNumber(req.phoneNumber!!)) throw PhoneNumberNotExistException

if (qualificationRepository.existsById(req.phoneNumber)) throw AlreadyPostedMessageException

Expand Down

0 comments on commit 9235984

Please sign in to comment.