feat(notification): support for multiple phone numbers (#738)

This commit is contained in:
Ben Wu
2020-11-10 06:21:54 -08:00
committed by GitHub
parent ab1fddf20c
commit 9f28fe5803
4 changed files with 49 additions and 35 deletions
+2 -2
View File
@@ -180,8 +180,8 @@ const notifications = {
['virgin', 'vmobl.com'],
['virgin-ca', 'vmobile.ca']
]),
carrier: envOrString(process.env.PHONE_CARRIER),
number: envOrString(process.env.PHONE_NUMBER)
carrier: envOrArray(process.env.PHONE_CARRIER),
number: envOrArray(process.env.PHONE_NUMBER)
},
playSound: envOrString(process.env.PLAY_SOUND),
pushbullet: envOrString(process.env.PUSHBULLET),