Add docs/code comments for message-send-flow

This commit is contained in:
Andrew Shumway
2024-03-18 11:45:40 -06:00
parent 0e1c5e4c9d
commit 6599c284cc
5 changed files with 16 additions and 14 deletions

View File

@@ -22,11 +22,11 @@ from app.serialised_models import SerialisedService, SerialisedTemplate
def send_sms_to_provider(notification):
'''
"""
This is the last step in the message send flow.
We get necessary data for recipient, template,
notification and send it off to the provider.
'''
"""
# we no longer store the personalisation in the db,
# need to retrieve from s3 before generating content
# However, we are still sending the initial verify code through personalisation