update: the sms service to use new sms panel

This commit is contained in:
mahyargdz
2025-02-16 12:41:26 +03:30
parent 0f6dd5826e
commit 86edb153a2
3 changed files with 66 additions and 46 deletions
+1 -1
View File
@@ -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, `مشکلی در ارسال پیامک پیش آمده است`);
}