Skip to content

Commit

Permalink
Merge pull request #49 from Bonjur/patch-1
Browse files Browse the repository at this point in the history
Fixed Destructuring
  • Loading branch information
lependu committed Jan 14, 2021
2 parents a9f74df + 0f4df4d commit 35ff9a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -50,7 +50,7 @@ fastify.get('/sendmail/:email', (req, reply, next) => {
let { nodemailer } = fastify
let recipient = req.params.email

fastify.nodemailer.sendMail({
nodemailer.sendMail({
from: 'sender@example.com',
to: recipient,
subject: 'foo',
Expand Down

0 comments on commit 35ff9a7

Please sign in to comment.