Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export default function sendNotification(name, email, text, number, host, emailNotification, smsNotification, callNotification) {
- if(emailNotification) {
- sendEmail(name, email, text);
- }
- if (smsNotification) {
- sendSms(number,text, name);
- }
- if (callNotification) {
- sendVoice(number,host, name, text);
- }
- }
Add Comment
Please, Sign In to add comment