Skip to content

Commit

Permalink
Remove debugging console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
melonmanchan committed Feb 16, 2016
1 parent 59a647a commit 2945899
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/routes/contacts.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ router.post('/contacts', verifyJWT, resolveUser, (req, res, next) => {
return c.phoneNumber.replace('+', '');
});

console.log(numberList);
// Then, we find all the registered users that match the numbers that were sent for syncing.
return User.findAll({
attributes: ['phoneNumber'] ,
Expand All @@ -39,7 +38,6 @@ router.post('/contacts', verifyJWT, resolveUser, (req, res, next) => {
return _.includes(formattedRegisteredNumbers, contact.phoneNumber.replace('+', ''));
});

console.log(validContacts);
return req.user.update({contactsList: validContacts});
})
.then( updatedUser => {
Expand Down

0 comments on commit 2945899

Please sign in to comment.