Files
chadebebe/app/api/items/[id]/reorder/route.ts
Adriano Belisario 23114637ac
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
fix: sync reorder transaction + redirect unauthenticated users to wishlist
- reorder route used async callback with better-sqlite3 (sync driver),
  causing "Transaction function cannot return a promise" — converted to sync
- home page now redirects unauthenticated visitors to the wishlist slug
  instead of getting stuck on the loading screen

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 21:02:10 +00:00

3.4 KiB