Skip to content

Commit

Permalink
[fix] sms 상태코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Juuunyeok committed Feb 19, 2024
1 parent fcaa4b9 commit a0ffe6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/sms.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const sendVerificationCode= async (req, res)=>{
const { phone_number } = req.body;
const checkPhone = await findPhoneNumber(phone_number);
if (checkPhone) {
return res.status(200).json({
return res.status(400).json({
success: false,
code: 'DUPLICATE_PHONE_NUMBER',
message: '중복된 전화번호입니다.',
Expand Down

0 comments on commit a0ffe6f

Please sign in to comment.