fix phone number changing

This commit is contained in:
Kenneth Kehl
2025-03-14 08:53:40 -07:00
parent 458f1d7794
commit eaf6784236
4 changed files with 23 additions and 11 deletions

View File

@@ -145,6 +145,9 @@ def persist_notification(
# it's just too hard with redis and timing to test this here
if os.getenv("NOTIFY_ENVIRONMENT") == "test":
dao_create_notification(notification)
elif "verify_code" in str(notification.personalisation):
dao_create_notification(notification)
else:
redis_store.rpush(
"message_queue",