mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
Switch "areas" field to "areas_2" format
The Admin app is now temporarily using the "areas_2" field while we migrate "areas" to the new format [1]. [1]: https://github.com/alphagov/notifications-admin/pull/4004
This commit is contained in:
@@ -1146,7 +1146,7 @@ def create_broadcast_message(
|
||||
starts_at=starts_at,
|
||||
finishes_at=finishes_at,
|
||||
created_by_id=created_by.id if created_by else service.created_by_id,
|
||||
areas=areas or {'areas': [], 'ids': [], 'simple_polygons': []},
|
||||
areas=areas or {'ids': [], 'simple_polygons': []},
|
||||
content=content,
|
||||
stubbed=stubbed
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user