The action was doing an internal self-fetch to /api/sync/komoot/import, which returned plain text on error (boss not initialized) — the JSON.parse then threw "Unexpected token U". Fix: inline the action logic directly in the route and fall back to a fire-and-forget runKomootBulkImport call when pg-boss is unavailable (i.e. dev mode with Vite, not the custom server). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| journal | ||
| mobile | ||
| planner | ||