first commit
This commit is contained in:
13
controllers/userController.js
Normal file
13
controllers/userController.js
Normal file
@ -0,0 +1,13 @@
|
||||
// userController.js
|
||||
const userModel = require('../models/userModel');
|
||||
|
||||
exports.getAllUsers = (req, res) => {
|
||||
userModel.getAllUsers((err, results) => {
|
||||
// if (err) throw err;
|
||||
res.json({});
|
||||
// console.log("asdfasdf");
|
||||
// res.json({});
|
||||
});
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user