diff options
Diffstat (limited to 'lib/users')
| -rw-r--r-- | lib/users/auth/passwordUtil.ts | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/users/auth/passwordUtil.ts b/lib/users/auth/passwordUtil.ts index 0be9a652..7cf101c7 100644 --- a/lib/users/auth/passwordUtil.ts +++ b/lib/users/auth/passwordUtil.ts @@ -425,20 +425,12 @@ async function sendSmsMessage(phoneNumber: string, message: string): Promise<boo if (countryInfo.country) { console.log(` Country: ${countryInfo.country}`); } - - // 국제 메시지인 경우 수신번호에 002 prefix 추가 - const isInternational = countryInfo.countryCode !== '82'; // 한국이 아닌 경우 - const toNumber = isInternational - ? `002${countryInfo.countryCode}${countryInfo.nationalNumber}` - : countryInfo.nationalNumber; - - console.log(` Final To Number: ${toNumber} (International: ${isInternational})`); const requestBody = { account: account, type: 'sms', from: fromNumber, - to: toNumber, + to: countryInfo.nationalNumber, country: countryInfo.countryCode, content: { sms: { |
