Files
linkedsign/backend/src/modules/health/health.controller.js
T
2026-04-06 20:34:18 -05:00

16 lines
342 B
JavaScript

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,
};