Skip to content

Commit

Permalink
fix: enable getting new recommendations and updates
Browse files Browse the repository at this point in the history
  • Loading branch information
hfreire committed Jun 6, 2017
1 parent d19cc3a commit b36bade
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dates/dates.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ class Dates {
findByChannel (channel) {
const checkRecommendations = function (channel) {
return Logger.info(`Started checking recommendations from ${_.capitalize(channel.name)} `)
// .then(() => this.checkRecommendations(channel))
.then(() => this.checkRecommendations(channel))
.then(({ received = 0, skipped = 0, failed = 0 }) => Logger.info(`Finished checking recommendations from ${_.capitalize(channel.name)} (received = ${received}, skipped = ${skipped}, failed = ${failed})`))
}

const checkUpdates = function (channel) {
return Logger.info(`Started checking updates from ${_.capitalize(channel.name)} `)
// .then(() => this.checkUpdates(channel))
.then(() => this.checkUpdates(channel))
.then(({ matches = 0, messages = 0 }) => Logger.info(`Finished checking updates from ${_.capitalize(channel.name)} (matches = ${matches}, messages = ${messages})`))
}

Expand Down

0 comments on commit b36bade

Please sign in to comment.