chore: change sms to use sms panel of danak
This commit is contained in:
@@ -98,13 +98,13 @@ function sendConfirmationSMS(userId) {
|
||||
user.mobileConfirmationKey = mobileKey
|
||||
await user.save()
|
||||
|
||||
const smsMsg = [
|
||||
'این شماره در وبسایت آسان سرویس جهت ارائه خدمات گارانتی ثبت گردیده.',
|
||||
' کد تایید شماره همراه: ',
|
||||
mobileKey
|
||||
]
|
||||
// const smsMsg = [
|
||||
// 'این شماره در وبسایت آسان سرویس جهت ارائه خدمات گارانتی ثبت گردیده.',
|
||||
// ' کد تایید شماره همراه: ',
|
||||
// mobileKey
|
||||
// ]
|
||||
|
||||
await SMS([user.mobile_number], smsMsg.join(''))
|
||||
await SMS(user.mobile_number, mobileKey)
|
||||
|
||||
resolve()
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user