mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 11:23:48 -05:00
Problem: it wasn’t saying ‘phone number’ or ‘email address’ Why: we renamed `Recipients.recipient_column_header` to `Recipients.recipient_column_headers`, and made it return a list, not a string. The fix: take the first item of the list, and use that to decide whether it’s phone numbers or email addresses that you’re not allowed to send to. N.B. This won’t work for letters, but we don’t know how trial mode is going to work for letters anyway.