From 58b883f06c8b0c6dd90e1302545a956ca7affea6 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Fri, 8 Sep 2017 10:52:40 -0700 Subject: [PATCH] fix(server/certs): Fix email and refactor --- server/boot/certificate.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/server/boot/certificate.js b/server/boot/certificate.js index f82f05bd44..0b8702858e 100644 --- a/server/boot/certificate.js +++ b/server/boot/certificate.js @@ -89,9 +89,11 @@ function sendCertifiedEmail( const notifyUser = { type: 'email', to: email, - from: 'quincy@freecodecamp.org', - subject: dedent`Congratulations on completing all of the - freeCodeCamp certificates!`, + from: 'team@freeCodeCamp.org', + subject: dedent` + Congratulations on completing all of the + freeCodeCamp certificates! + `, text: renderCertifedEmail({ username, name @@ -196,7 +198,7 @@ export default function certificate(app) { if (user.name === '') { return res.status(200).send( dedent` - We need your name so we can put it on your certificate. + We need your name so we can put it on your certificate. Add your name to your GitHub account, then go to your settings