+ 1 from last
This commit is contained in:
parent
7d871e7a58
commit
69e1cb3763
|
@ -75,7 +75,6 @@ const sendEmail = (email: string, message: string) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
export const sendAlert = (alert: any, message: string) => {
|
export const sendAlert = (alert: any, message: string) => {
|
||||||
console.log(alert);
|
|
||||||
if (alert.alertProvider == 'sms') {
|
if (alert.alertProvider == 'sms') {
|
||||||
const phoneNumber = `+${alert.phoneNumber.code}${alert.phoneNumber.phone}`;
|
const phoneNumber = `+${alert.phoneNumber.code}${alert.phoneNumber.phone}`;
|
||||||
sendSms(phoneNumber, message);
|
sendSms(phoneNumber, message);
|
||||||
|
|
Loading…
Reference in New Issue