mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
Replace `parsed.error.issues[0].message` with `returnAllZodIssues` on the remaining 12 sites: auth password + register, admin settings + assistant-flags + feedback PATCH + users PUT, user thresholds, public feedback + bugreport submissions, and the three consent endpoints. Status codes preserved everywhere — consent routes keep 400, the rest stay 422. No audit-ledger breadcrumb on this batch (low-traffic admin and onboarding flows). Also tops up the legacy `measurements/__tests__/group-by-day` mock with the `prisma.auditLog.create` shim now that the route's validation- failed path writes a breadcrumb. Tests: 26 new unit cases (2-issue + 3-issue per site; cadence-style narrow schemas pinned on ≥ 1).