mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 02:11:11 -05:00
refactor post_notification to separate sms/email and letter flows
This commit is contained in:
@@ -234,11 +234,11 @@ post_letter_response = {
|
||||
}
|
||||
|
||||
|
||||
def create_post_sms_response_from_notification(notification, body, from_number, url_root, scheduled_for):
|
||||
def create_post_sms_response_from_notification(notification, content, from_number, url_root, scheduled_for):
|
||||
noti = __create_notification_response(notification, url_root, scheduled_for)
|
||||
noti['content'] = {
|
||||
'from_number': from_number,
|
||||
'body': body
|
||||
'body': content
|
||||
}
|
||||
return noti
|
||||
|
||||
|
||||
Reference in New Issue
Block a user