mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-23 20:01:01 -05:00
There is no real reason to have to support both 'one-off' steps and also 'test' steps when sending a one off notification. It's a lot of complex code, just to now set the one of the placeholders in the session. We make our code much simpler but no longer using the 'test' routes but instead adding a new endpoint to set the notification recipient when sending to yourself before continuing on with the rest of the 'one-off' flow. After this is deployed for a day then we can completely remove the 'test' routes and this will help remove a lot of code complexity.