summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorGavin Mogan <git@gavinmogan.com>2025-04-23 17:27:55 -0700
committerGavin Mogan <git@gavinmogan.com>2025-04-23 17:43:37 -0700
commita8a17443c2d070d2d23920ffff7e4a43c905698c (patch)
treecddb37a6af4a65f774863e51be941cd291af5683 /package.json
parentaace2c7e6ccb6e74df83faac74c427d43bfaf79b (diff)
Refactor for everywhere to use sendEmailFromTemplate everywhere
* Created a singleton to house handlebars so req doesn't need to be passed everywhere (should make unit testing easier later) * Subjectline for sendgrid and nodemailer are both always prefixed in sendEmail() * removed prefix subjectline from all other email places * added a couple if (!event) { return 404 } to help make typescript happy * some minor eslint auto fixes (looks like let => const where it can)
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index 26d1d00..0287e77 100644
--- a/package.json
+++ b/package.json
@@ -18,6 +18,7 @@
"author": "",
"license": "GPL-3.0-or-later",
"dependencies": {
+ "@sendgrid/helpers": "^8.0.0",
"@sendgrid/mail": "^6.5.5",
"@types/cookie-parser": "^1.4.7",
"activitypub-types": "^1.1.0",