Elephant Architect commited on
Commit Β·
1da8dc4
1
Parent(s): 7b1827b
fix(routes): await async getTelemetry() in telegram automation status endpoint
Browse files1566 unmodified lines1567156815691570157115721573157415751566 unmodified lines// 24/7 TELEGRAM CHANNEL BATCH ENGINE AUTOMATION ENDPOINTS// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββrouter.get('/api/chroma/telegram/automation/status', (req: Request, res: Response) => {try {const telemetry = telegramAutomation.getTelemetry();res.json({ success: true, telemetry });} catch (err: any) {logger.error(`Failed to get telegram automation status: ${err.message}`, 'routes');1566 unmodified lines1567156815691570157115721573157415751566 unmodified lines// 24/7 TELEGRAM CHANNEL BATCH ENGINE AUTOMATION ENDPOINTS// βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββrouter.get('/api/chroma/telegram/automation/status', async (req: Request, res: Response) => {try {const telemetry = await telegramAutomation.getTelemetry();res.json({ success: true, telemetry });} catch (err: any) {logger.error(`Failed to get telegram automation status: ${err.message}`, 'routes');
quran_automation/src/routes.ts+2-2