- API: replaced hardcoded wrong map (1=Critical etc) with JOIN on priorities table - API: sorted by count DESC instead of priority value - Frontend: PRIORITY_COLOR/TEXT maps updated to cover all 10 actual Autotask values (1-11) - Middleware: added /api/mobile to publicRoutes (was getting auth-redirected) |
||
|---|---|---|
| .. | ||
| route.ts | ||