From 0f2f30eb835a7fb17c605886c458bf73fad0fc8e Mon Sep 17 00:00:00 2001 From: Karen Shaw Date: Mon, 9 Oct 2023 20:19:55 +0000 Subject: [PATCH] Replace email template --- lambdas/assets/email.html | 8 ++-- lambdas/assets/email.txt | 5 +- lambdas/get-download-link.js | 2 +- lambdas/send-email.js | 68 --------------------------- lambdas/send-templated-email.js | 43 +++++++++++++++++ src/handlers/get-file-set-download.js | 27 ++++------- state_machines/av_download.json | 18 ++++--- template.yaml | 4 +- 8 files changed, 75 insertions(+), 100 deletions(-) delete mode 100644 lambdas/send-email.js create mode 100644 lambdas/send-templated-email.js diff --git a/lambdas/assets/email.html b/lambdas/assets/email.html index 6a8205c2..f0d5682b 100644 --- a/lambdas/assets/email.html +++ b/lambdas/assets/email.html @@ -2,7 +2,7 @@ - Meadow AV Download + NUL Meadow AV Download