L2 Case27 Prompt Fix
All 4 endpoints updated:
- **GET `/`** (list): `id` → `order_id`
- **GET `/:id`** (detail): destructured to replace `id` with `order_id`
- **POST `/`** (create): destructured to replace `id` with `order_id`
- **GET `/search`**: `id` → `order_id`
The stats and delete endpoints don't return order IDs, so no changes needed there. Tests may need updating if they assert on the `id` field — want me to check?when to use it
Community prompt sourced from the open-source GitHub repo SenZhangAI/your-taste-test (no explicit license). A "L2 Case27 Prompt Fix" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
lifestylecommunitygeneral
source
SenZhangAI/your-taste-test · no explicit license