Created
March 25, 2017 23:13
-
-
Save deltaepsilon/d7f6d2502e183e955fa15c5504644ddc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Good | |
exports.sendEmail = functions.auth.user().onCreate(event => { | |
const mailgun = require('mailgun-js'); | |
// ... | |
}); | |
// Not As Awesome | |
const mailgun = require('mailgun-js'); | |
exports.sendEmail = functions.auth.user().onCreate(event => { | |
// ... | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment