mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-13 05:41:11 -04:00
If the user is looking at the notifications page for all message types (which is what we show ‘caseworkers’) then it doesn’t make sense to ask the API for the data retention period for that message type (because it will be `None`). Doing so causes the API to return a `404`, which then causes the admin app to return `404`. Passing through `None` as the value of limit days will just cause the API to return everything in the `notifications` table, which is fine for us.