fetchNearbyPois defaulted sessionId to the placeholder "nearby", which /api/pois's requireSession rejects (401 Unauthorized) — so the nearby-POI lookup for a selected waypoint always failed on real deployments. Thread the live planner sessionId through useNearbyPois → fetchNearbyPois → queryPois (same session the main POI markers already use), and make sessionId a required arg so the placeholder can't silently return. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| public | ||
| .gitignore | ||
| Dockerfile | ||
| package.json | ||
| react-router.config.ts | ||
| server.ts | ||
| tsconfig.json | ||
| vite.config.ts | ||
| vitest.browser.config.ts | ||
| vitest.config.ts | ||