Skip to content

Commit

Permalink
Updated logging
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmerfield committed Feb 7, 2019
1 parent b5d5385 commit c7300bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/models/user/scheduleSubscriptionEmail.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ module.exports = function(uid, callback) {

// Schedule the email
debug(user.uid, user.email, "scheduling warning email....");
console.log(
"Scheduled subscription notification email on",
notificationDate,
"for",
user.email
);
schedule(notificationDate, function() {
// We fetch the latest state of the user's subscription
// from the database in case the user's subscription
Expand Down

0 comments on commit c7300bf

Please sign in to comment.