mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 15:46:07 -05:00
Stop sending the encrypted message to the send_sms_to_provider task.
Everything the task needs is now stored in the db.
This commit is contained in:
@@ -161,7 +161,7 @@ def send_sms(self, service_id, notification_id, encrypted_notification, created_
|
||||
)
|
||||
dao_create_notification(notification_db_object, TEMPLATE_TYPE_SMS)
|
||||
|
||||
send_sms_to_provider.apply_async((service_id, notification_id, encrypted_notification), queue='sms')
|
||||
send_sms_to_provider.apply_async((service_id, notification_id), queue='sms')
|
||||
|
||||
current_app.logger.info(
|
||||
"SMS {} created at {} sent at {}".format(notification_id, created_at, sent_at)
|
||||
|
||||
Reference in New Issue
Block a user