fix(server/certs): Fix email and refactor

This commit is contained in:
Berkeley Martinez
2017-09-08 10:52:40 -07:00
parent a051d4d443
commit 58b883f06c

View File

@ -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