Fix that lol

This commit is contained in:
Christopher Cookman 2024-08-18 01:35:25 -06:00
parent db5c8ce838
commit 023863b225
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -159,7 +159,7 @@ function sendAlert(accountNumber, transaction, placeName, systemName, zoneNumber
console.error(err);
} else if (row) {
runCommand(`/var/lib/asterisk/bin/originate ${row.phone} roblox.s.1 0 0 /tmp/${transaction}-alert "IktDQSBTZWN1cmlOZXQiIDwxNDQ3MjAwNDQ4OD4="`).then(() => {
console.log(`TTS sent to ${row.to}`);
console.log(`Alert sent to ${row.phone}`);
}).catch((error) => {
console.error(error);
});