spee.ch/server/controllers/auth/user/index.js
2018-07-31 16:43:08 -07:00

9 lines
170 B
JavaScript

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