Skip to content

Commit

Permalink
Fix typo on sendGoodbyeEmail
Browse files Browse the repository at this point in the history
  • Loading branch information
alorma committed May 15, 2018
1 parent c6d36d2 commit e543ba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quickstarts/email-users/functions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ exports.sendByeEmail = functions.auth.user().onDelete((user) => {
const email = user.email;
const displayName = user.displayName;

return sendGoodbyEmail(email, displayName);
return sendGoodbyeEmail(email, displayName);
});
// [END sendByeEmail]

Expand All @@ -83,7 +83,7 @@ function sendWelcomeEmail(email, displayName) {
}

// Sends a goodbye email to the given user.
function sendGoodbyEmail(email, displayName) {
function sendGoodbyeEmail(email, displayName) {
const mailOptions = {
from: `${APP_NAME} <noreply@firebase.com>`,
to: email,
Expand Down

0 comments on commit e543ba2

Please sign in to comment.