Remove data health dashboard
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 45s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 45s
This commit is contained in:
@@ -11,7 +11,6 @@ const {
|
||||
getRfmAnalytics
|
||||
} = require('../services/analyticsService');
|
||||
const { getProductComposition, listProductCompositions } = require('../services/productionOrderService');
|
||||
const { getDataHealthSummary } = require('../services/dataHealthService');
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
@@ -79,15 +78,6 @@ router.get('/analytics/product-compositions', verifyToken, async (req, res) => {
|
||||
}
|
||||
});
|
||||
|
||||
router.get('/analytics/data-health', verifyToken, async (req, res) => {
|
||||
try {
|
||||
res.json(await getDataHealthSummary());
|
||||
} catch (error) {
|
||||
console.error('Error fetching data health:', error);
|
||||
res.status(500).json({ error: 'Internal Server Error' });
|
||||
}
|
||||
});
|
||||
|
||||
router.get('/analytics/clients', verifyToken, async (req, res) => {
|
||||
try {
|
||||
res.json(await getClientAnalytics(getClientAnalyticsFilters(req.query)));
|
||||
|
||||
Reference in New Issue
Block a user