hotfix: config variable reference

Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
Jef LeCompte
2020-09-18 19:56:11 -04:00
parent 2246ecedf2
commit 131dda4d5a
+1 -1
View File
@@ -13,7 +13,7 @@ export default function sendNotification(cartUrl: string) {
}
if (Config.notifications.phone.number && Config.notifications.phone.carrier) {
if (Config.notifications.availableCarriers.includes(Config.notifications.phone.carrier.toLowerCase())) {
if (Config.notifications.phone.availableCarriers.includes(Config.notifications.phone.carrier.toLowerCase())) {
sendSMS(cartUrl);
}
}