diff --git a/controllers/adController.js b/controllers/adController.js index 0fca0f2..4f77557 100644 --- a/controllers/adController.js +++ b/controllers/adController.js @@ -173,19 +173,21 @@ async function failEmail({ user, resp }) { resp && resp.code ? `
- An Advert placed just failed, possible cause: $ - {resp.code === "1002" - ? "Error Sending SMS" - : resp.code === "1003" - ? "Insufficient Balance on our SmartSMS account" - : resp.code === "1005" - ? "SmartSMS temporarily down" - : resp.code === "1008" - ? "Unregistered Sender ID" - : resp.comment} + An Advert placed just failed, possible cause: + ${ + resp.code === "1002" + ? "Error Sending SMS" + : resp.code === "1003" + ? "Insufficient Balance on our SmartSMS account" + : resp.code === "1005" + ? "SmartSMS temporarily down" + : resp.code === "1008" + ? "Unregistered Sender ID" + : resp.comment + }
Ad initialized by user "${user.username}"
-Full raw details : ${JSON.stringify(resp)}
{" "} +Full raw details : ${JSON.stringify(resp)}