This repository has been archived on 2026-05-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
app/apps/api
Flea Flicker 252832d081 fix(gro-48): use staffRow?.role for consistency with clients.ts/pets.ts
QAP-125 noted appointments.ts uses staffRow.role (unsafe) while
clients.ts/pets.ts use staffRow?.role (safe). This inconsistency
can cause runtime errors when staff context is missing. Fixed by
using the safe optional-chain form consistently in both GET handlers.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-27 09:42:26 +00:00
..