mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 00:41:35 -05:00
The `get_bucket_name_and_prefix_for_notification` function was looking at the `sent_at` or `updated_at` at time of a notification to see which bucket it was in. Precompiled letters sent through the admin app don't have either of these times - they only have a `created_at` time, so this lets the function check `created_at` time too.