backend: cleaned console.logs

This commit is contained in:
muerwre 2018-11-30 15:16:46 +07:00
parent c92f84c24f
commit 723ab51eef
5 changed files with 0 additions and 9 deletions

View file

@ -7,8 +7,6 @@ module.exports = async (req, res) => {
const user = await User.findOne({ _id: id, token });
const random_url = await generateRandomUrl();
console.log('USER', { id, token });
if (user) {
return res.send({ success: true, ...user.toObject(), id: user._id, random_url });
}