mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 11:07:43 +00:00
hotfix: config variable reference
Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user