mirror of
https://github.com/GSA/notifications-api.git
synced 2026-05-04 16:20:06 -04:00
fix personalisation for emails
This commit is contained in:
@@ -437,6 +437,11 @@ def send_new_user_email_verification(user_id):
|
||||
str(user_to_send_to.email_address),
|
||||
ex=60 * 60,
|
||||
)
|
||||
redis_store.set(
|
||||
f"email-personalisation-{saved_notification.id}",
|
||||
json.dumps(personalisation),
|
||||
ex=60 * 60,
|
||||
)
|
||||
current_app.logger.info("Sending notification to queue")
|
||||
|
||||
send_notification_to_queue(saved_notification, queue=QueueNames.NOTIFY)
|
||||
|
||||
Reference in New Issue
Block a user