limit text

This commit is contained in:
pringgosutono
2026-05-08 14:36:48 +07:00
parent e42ba5ae57
commit db2fd23a9c

View File

@ -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"