-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#167809483 fixes user verification and setup sendgrid #48
Conversation
return sendgrid.send({ | ||
to: recipientMail, | ||
subject, | ||
from: 'persephone@andela.com', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace 'persephone@andela.com'
with "persephone@andela.com"
prettier/prettier
return sendgrid.send({ | ||
to: recipientMail, | ||
subject, | ||
from: 'persephone@andela.com', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace 'persephone@andela.com'
with "persephone@andela.com"
prettier/prettier
src/helpers/mail.helper.js
Outdated
from: 'persephone@andela.com', | ||
html: `Hi ${recipientName}. Welcome To Author's Haven. | ||
|
||
Please click on this <a href="${process.env.FRONTEND_URL}/verify/${confirmCode}" >link</a> to confirm your email.` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace process.env.FRONTEND_URL
with ⏎······process.env.FRONTEND_URL⏎····
prettier/prettier
return sendgrid.send({ | ||
to: recipientMail, | ||
subject, | ||
from: 'persephone@andela.com', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace 'persephone@andela.com'
with "persephone@andela.com"
prettier/prettier
@@ -1,7 +1,8 @@ | |||
import Mail from 'friendly-mail'; | |||
import sendgrid from '@sendgrid/mail'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace '@sendgrid/mail'
with "@sendgrid/mail"
prettier/prettier
7de9128
to
6ee2c9a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work Sam. LGTM
install sendgrid setup sendgrid with credentials update mail helper [Finishes #167809483]
6ee2c9a
to
120096e
Compare
What does this PR do?
Description of Task to be completed?
Any background context you want to provide?
none
What are the relevant pivotal tracker stories?
[#167809483] (https://www.pivotaltracker.com/story/show/167809483)