Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module.exports = (application) => {
- application.post('/auth/createUser', (req, res) => {
- application.app.controllers.userController.createUser(application, req, res);
- });
- application.post('/auth/createUserInfos/:userId', (req, res) => {
- application.app.controllers.userController.createUserInfos(application, req, res);
- });
- application.get('/auth/getUserInfos/:userId', (req, res) => {
- application.app.controllers.userController.getUserInfos(application, req, res);
- });
- application.post('/auth/authUser', (req, res) => {
- application.app.controllers.userController.authUser(application, req, res);
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement