From 220364cf4214fc42da0b8358504c21773eaced0c Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Thu, 2 Apr 2020 15:19:48 +1100 Subject: [PATCH] fix fatal bug in SMS sending --- ClinicArrivals.Models/TwilioSmsProcessor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ClinicArrivals.Models/TwilioSmsProcessor.cs b/ClinicArrivals.Models/TwilioSmsProcessor.cs index 4e7f8e3..fadaf57 100644 --- a/ClinicArrivals.Models/TwilioSmsProcessor.cs +++ b/ClinicArrivals.Models/TwilioSmsProcessor.cs @@ -15,7 +15,7 @@ namespace ClinicArrivals.Models public class TwilioSmsProcessor : ISmsProcessor { Settings _settings; - Dictionary numCount; + Dictionary numCount = new Dictionary(); int maxMessagePerPhone = 20; DateTime day;