From 5dcaf6b61e47f51fd30271dff797029db1fc240e Mon Sep 17 00:00:00 2001 From: Stephen Astels Date: Thu, 9 May 2024 16:42:51 -0400 Subject: [PATCH] add param --- app/clients/sms/aws_pinpoint.py | 1 - app/clients/sms/aws_sns.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/clients/sms/aws_pinpoint.py b/app/clients/sms/aws_pinpoint.py index bf09985d5c..1fd4f7da94 100644 --- a/app/clients/sms/aws_pinpoint.py +++ b/app/clients/sms/aws_pinpoint.py @@ -15,7 +15,6 @@ class AwsPinpointClient(SmsClient): def init_app(self, current_app, statsd_client, *args, **kwargs): self._client = boto3.client("pinpoint-sms-voice-v2", region_name="ca-central-1") super(AwsPinpointClient, self).__init__(*args, **kwargs) - # super(SmsClient, self).__init__(*args, **kwargs) self.current_app = current_app self.name = "pinpoint" self.statsd_client = statsd_client diff --git a/app/clients/sms/aws_sns.py b/app/clients/sms/aws_sns.py index cf6fe3e914..2ada444b67 100644 --- a/app/clients/sms/aws_sns.py +++ b/app/clients/sms/aws_sns.py @@ -27,7 +27,7 @@ def get_name(self): return self.name @statsd(namespace="clients.sns") - def send_sms(self, to, content, reference, multi=True, sender=None): + def send_sms(self, to, content, reference, multi=True, sender=None, template_id=None): matched = False for match in phonenumbers.PhoneNumberMatcher(to, "US"):