From 131dda4d5a49293ed4b580f52b378f05699d0324 Mon Sep 17 00:00:00 2001 From: Jef LeCompte Date: Fri, 18 Sep 2020 19:56:11 -0400 Subject: [PATCH] hotfix: config variable reference Signed-off-by: Jef LeCompte --- src/notification/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notification/index.ts b/src/notification/index.ts index 764c4db..63fcc5f 100644 --- a/src/notification/index.ts +++ b/src/notification/index.ts @@ -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); } }