Traewelling / traewelling

Free check-in service to log your public transit journeys
https://traewelling.de
GNU Affero General Public License v3.0
234 stars 46 forks source link

Export api endpoint redirects to frontend export #2911

Open AdriDevelopsThings opened 5 days ago

AdriDevelopsThings commented 5 days ago

Describe the bug

I'm trying to export my traewelling checkins with this function. Clicking on CSV (Human or Machine Readable Headings either) sends a POST request to https://traewelling.de/api/v1/export/statuses but this endpoint just redirects me to https://traewelling.de/export again.

Steps to reproduce

  1. Go to https://traewelling.de/export
  2. Click on CSV (Human or Machine Readable Headings)

Browser console logs

No response

Browser

Chrome

AdriDevelopsThings commented 5 days ago

This problem only seems to exist for long periods such as the selection of more than one year. Maybe the frontend should show an error message like "Period is too long".