spee.ch/server/controllers/auth/user/index.js
2018-05-04 10:11:53 -07:00

9 lines
167 B
JavaScript

const user = (req, res) => {
const responseObject = {
success: true,
data: req.user,
};
res.status(200).json(responseObject);
};
module.exports = user;