mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
add broadcast to template_types and add broadcast_data
had to go through the code and change a few places where we filter on template types. i specifically didn't worry about jobs or notifications. Also, add braodcast_data - a json column that might contain arbitrary broadcast data that we'll figure out as we go. We don't know what it'll look like, but it should be returned by the API
This commit is contained in:
@@ -78,7 +78,8 @@ def dao_update_template_reply_to(template_id, reply_to):
|
||||
"version": template.version,
|
||||
"archived": template.archived,
|
||||
"process_type": template.process_type,
|
||||
"service_letter_contact_id": template.service_letter_contact_id
|
||||
"service_letter_contact_id": template.service_letter_contact_id,
|
||||
"broadcast_data": template.broadcast_data,
|
||||
})
|
||||
db.session.add(history)
|
||||
return template
|
||||
|
||||
Reference in New Issue
Block a user