limit text
This commit is contained in:
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user