trails/apps/journal/app/lib/sync
Ullrich Schäfer 5ea7342f4e
Send Wahoo route file as data URI, not raw base64
Wahoo's POST /v1/routes expects route[file] as
'data:application/vnd.fit;base64,<base64>'. We were sending raw
base64, which Wahoo silently discarded — the route would appear in
the user's list with metadata (distance, ascent come from request
fields) but file.url stayed null and the Wahoo app rendered no track.
Confirmed by re-fetching route 50197876 via GET /v1/routes/:id.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 10:29:43 +02:00
..
providers Send Wahoo route file as data URI, not raw base64 2026-05-01 10:29:43 +02:00
connections.server.ts Add Wahoo pushRoute and SyncProvider push interface 2026-04-30 22:36:45 +02:00
imports.server.ts Add activity import source badge, delete action, and No GPS indicator 2026-04-05 16:49:42 +02:00
pushes.server.test.ts Add Wahoo push action route + OAuth callback resume 2026-04-30 22:41:24 +02:00
pushes.server.ts Add Wahoo push action route + OAuth callback resume 2026-04-30 22:41:24 +02:00
registry.ts Add Wahoo activity sync with provider-agnostic framework 2026-04-04 11:22:02 +01:00
types.ts Revoke Wahoo tokens on disconnect; surface OAuth errors 2026-05-01 10:03:50 +02:00