Skip to content

Fix ride date field mismatch causing "No ride date provided" error#1

Open
thomasboghaert wants to merge 1 commit intoJayQueue:mainfrom
thomasboghaert:fix-date-field-mismatch
Open

Fix ride date field mismatch causing "No ride date provided" error#1
thomasboghaert wants to merge 1 commit intoJayQueue:mainfrom
thomasboghaert:fix-date-field-mismatch

Conversation

@thomasboghaert
Copy link
Copy Markdown

Problem

The frontend submits the ride date as planned_date, while the backend expects
ride_date, causing the error "No ride date provided" even when a date is selected.

Solution

  • Align date field naming between frontend and backend
  • (Optional) Add backend fallback to accept both ride_date and planned_date

How to test

  1. Upload a GPX file
  2. Select a ride date
  3. Submit the form
  4. Verify the upload succeeds without validation errors

by the way; awesome repo! this is really helpful when planning my rides 👍
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant