sistema-de-chamados/src/app/api/admin
codex-bot a18536dd5f fix(api): Next.js 16 route handler types — params is Promise in context
- Update GET signature to (req: NextRequest, ctx: { params: Promise<{id:string}> })
- Await ctx.params and pass id to Convex client
- Keeps NextResponse return type
2025-10-22 09:46:50 -03:00
..
alerts/hours-usage feat(alerts): format hours in admin alert emails using minutes when <1h; minor null-safe for contracted/month 2025-10-21 15:20:05 -03:00
clients refactor: align routes with next 16 and local fonts 2025-10-22 02:08:18 -03:00
companies fix(machines): guard Convex getById calls with 'skip' when missing id to avoid ArgumentValidationError; add unit test for getById metadata; fix build by loosening Prisma types in company service 2025-10-22 08:47:55 -03:00
invites refactor: align routes with next 16 and local fonts 2025-10-22 02:08:18 -03:00
machines fix(api): Next.js 16 route handler types — params is Promise in context 2025-10-22 09:46:50 -03:00
users feat: expand admin companies and users modules 2025-10-22 01:27:43 -03:00