spee.ch/server/controllers/auth/user/index.js

10 lines
167 B
JavaScript
Raw Normal View History

2018-03-29 11:40:47 -07:00
const user = (req, res) => {
const responseObject = {
success: true,
data: req.user,
};
res.status(200).json(responseObject);
2018-03-28 22:06:08 -07:00
};
module.exports = user;