diff --git a/controllers/ListenController.js b/controllers/ListenController.js index afe5564..aa5c9a8 100644 --- a/controllers/ListenController.js +++ b/controllers/ListenController.js @@ -367,7 +367,7 @@ async function commitMessage(now, logDevice) { } const time = moment.unix(logDevice.crt_d + TIMEFIX).format("DD MMM YYYY HH:mm:ss") - address = address.substring(0, 100) + address = address.substring(0, 60) const rawMsg = `${nopol} | OVERSPEED | ${time} | ${logDevice.speed} km/h | ${address}`.trim() // const rawMsg = `${nopol} | OVERSPEED | ${time} | ${logDevice.speed} km/h`.trim() const countryCode = process.env.SMS_COUNTRY_CODE ?? "670"