Skip to content

Commit

Permalink
add param
Browse files Browse the repository at this point in the history
  • Loading branch information
sastels committed May 9, 2024
1 parent 70e540c commit 5dcaf6b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion app/clients/sms/aws_pinpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/clients/sms/aws_sns.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down

0 comments on commit 5dcaf6b

Please sign in to comment.