Created
June 16, 2017 09:03
-
-
Save fabulousduck/9962e9b4b8e265591f8e523aba3c5ae5 to your computer and use it in GitHub Desktop.
This file contains 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
.tap(function sendSalesUpgradeNotification({ newSubscription, newPayment}) { | |
const { name, price } = newSubscription.plan; | |
const { userId } = newPayment; | |
return mailer.sendSalesNotificationEmail(name, price, userId) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment