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