ocd formatting, changed user object, retrieve user ID

This commit is contained in:
2024-07-25 09:05:41 +05:30
parent 40cf0c2e2b
commit f067320a7f
21 changed files with 112 additions and 104 deletions

View File

@@ -8,7 +8,7 @@ const typedefs = require("../typedefs");
*/
const __controller_func = async (req, res) => {
try {
} catch (error) {
logger.error('__controller_func', { error });
return res.sendStatus(500);
@@ -17,4 +17,4 @@ const __controller_func = async (req, res) => {
module.exports = {
__controller_func
};
};

View File

@@ -17,6 +17,5 @@ const __validator_func = async (req, res, next) => {
}
module.exports = {
__validator_func,
__validator_func
}