fix(server/certs): Fix email and refactor
This commit is contained in:
@ -89,9 +89,11 @@ function sendCertifiedEmail(
|
|||||||
const notifyUser = {
|
const notifyUser = {
|
||||||
type: 'email',
|
type: 'email',
|
||||||
to: email,
|
to: email,
|
||||||
from: 'quincy@freecodecamp.org',
|
from: 'team@freeCodeCamp.org',
|
||||||
subject: dedent`Congratulations on completing all of the
|
subject: dedent`
|
||||||
freeCodeCamp certificates!`,
|
Congratulations on completing all of the
|
||||||
|
freeCodeCamp certificates!
|
||||||
|
`,
|
||||||
text: renderCertifedEmail({
|
text: renderCertifedEmail({
|
||||||
username,
|
username,
|
||||||
name
|
name
|
||||||
|
Reference in New Issue
Block a user