update: the sms service to use new sms panel
This commit is contained in:
@@ -190,7 +190,7 @@ module.exports.otp = [
|
||||
/** send sms to user */
|
||||
const smsResult = await sms(phone, message);
|
||||
|
||||
if (!smsResult.IsSuccessful) {
|
||||
if (!smsResult) {
|
||||
console.log(smsResult);
|
||||
return res500(res, `مشکلی در ارسال پیامک پیش آمده است`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user