fix(gro-1749): sync UAT seed data to root src and fix route path #71
Reference in New Issue
Block a user
Delete Branch "fix/gro-1749-uat-seed-sync"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
apps/api/src/routes/admin/seed.tsto rootsrc/routes/admin/seed.ts(the path used by Docker build)adminSeedRouter.post("/seed")→adminSeedRouter.post("/")in both files, correcting the endpoint from/api/admin/seed/seedto/api/admin/seedChanges
src/routes/admin/seed.ts(primary — used by Docker build)UAT_CLIENTconstant (name: "UAT Customer", email: uat-customer@groombook.dev, phone: 555-0100, status: "active")UAT_PETSarray: Bella (Poodle, curly) and Max (Labrador Retriever, short)adminSeedRouter.post("/seed")→adminSeedRouter.post("/")apps/api/src/routes/admin/seed.ts(keep in sync)Test plan
POST /api/admin/seedreturns 200 with UAT Customer and Bella/Max indetailsarraycc @cpfarhood
GRO-1750 Progress
a03771f(GRO-1749)e5f16a5See GRO-1750 for full tracking.