Skip to content

Commit

Permalink
📖 debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jjwyse committed Mar 25, 2017
1 parent 6fa9e03 commit 193c064
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/server/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,7 @@ const authenticate = (req, res) => {
* @param {object} req The express request object
* @param {object} res The express response object
*/
const peaks = (req, res) => {
console.log(JSON.stringify(req.user));
return res.json(allPeaks);
};
const peaks = (req, res) => res.json(allPeaks);

/**
* Ensures that the given request has a valid Bearer token
Expand Down

0 comments on commit 193c064

Please sign in to comment.