From fa47ed9afbeb977b37b1f2e1d25df06876c9d2c5 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Wed, 29 Jul 2015 15:10:03 -0700 Subject: [PATCH] remove extra debugs --- common/models/user.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/common/models/user.js b/common/models/user.js index a59aeda8d8..268441cad5 100644 --- a/common/models/user.js +++ b/common/models/user.js @@ -221,26 +221,22 @@ module.exports = function(User) { } }) .flatMap(({ progressTimestamps = [] }) => { - debug('progressTimestamps', progressTimestamps); return Observable.from(progressTimestamps); }) // filter out non objects .filter((timestamp) => !!timestamp || typeof timestamp === 'object') // filterout timestamps older then an hour .filter(({ timestamp = 0 }) => { - debug('timestamp', timestamp); return timestamp >= oneHourAgo; }) // filter out brownie points given by giver .filter((browniePoint) => { - debug('browniePoint', browniePoint); return browniePoint.giver === giver; }) // no results means this is the first brownie point given by giver // so return -1 to indicate receiver should receive point .firstOrDefault(null, -1) .flatMap((browniePointsFromGiver) => { - debug('bronie points from giver', browniePointsFromGiver, giver); if (browniePointsFromGiver === -1) { return user$.flatMap((user) => {