Initial commit
This commit is contained in:
20
sections/users/services.js
Normal file
20
sections/users/services.js
Normal file
@@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
|
||||
const apiConfig = require( process.env.ROOT_PATH + process.env.API_CONFIG );
|
||||
|
||||
const getUsers = async(req, res) => {
|
||||
console.log( req.params );
|
||||
res.send({ user : "hello world!" });
|
||||
};
|
||||
|
||||
const getUserData = async(req, res) => {
|
||||
console.log( req.params );
|
||||
res.send({ user : "hello world!" });
|
||||
};
|
||||
|
||||
const getProfileData = async(req, res) => {
|
||||
console.log( req.params );
|
||||
res.send({ user : "hello world!" });
|
||||
};
|
||||
|
||||
module.exports = { getUsers , getUserData , getProfileData};
|
||||
Reference in New Issue
Block a user