mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 01:41:05 -05:00
As per review commemnts:
- Add the assert to a test - oops. - Fix typo in error message.
This commit is contained in:
@@ -108,4 +108,4 @@ def _reset_old_default_to_false(old_default):
|
||||
def _raise_when_no_default(old_default):
|
||||
# check that the update is not updating the only default to false
|
||||
if not old_default:
|
||||
raise Exception("You must have at least one letter contact as the default.", 400)
|
||||
raise Exception("You must have at least one SMS sender as the default.", 400)
|
||||
|
||||
Reference in New Issue
Block a user