mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 00:41:35 -05:00
In other places the text we use for this error message is "Missing personalisation: name, date, thing". See: -72b108b694/app/template/rest.py (L125)-717c0510a3/app/notifications/rest.py (L206)-05a179c6ef/app/v2/template/post_template.py (L38)For some reason this part of the codebase says "Template missing personalisation: …". This is inconsistent, and also confusing because it’s the API call that’s missing the personalisation, not the template itself. This commit changes the error message to be consistent with the majority of the codebase, which uses the less confusing wording.
5.6 KiB
5.6 KiB