Initial LinkedSign platform
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
const healthService = require('./health.service');
|
||||
const { sendSuccess } = require('../../utils/apiResponse');
|
||||
|
||||
const getHealth = async (req, res, next) => {
|
||||
try {
|
||||
const result = await healthService.getHealth();
|
||||
return sendSuccess(res, result);
|
||||
} catch (error) {
|
||||
return next(error);
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
getHealth,
|
||||
};
|
||||
Reference in New Issue
Block a user