jolpica / jolpica-f1

Apache License 2.0
92 stars 4 forks source link

Driver standings endpoint does not work without specifying a round #25

Closed theOehrly closed 6 months ago

theOehrly commented 6 months ago

When the driver standings endpoint is called without specifying a round, the latest standings should be returned. Currently, a server error is encountered and status code 500 is returned:

Example: http://api.jolpi.ca/ergast/f1/2023/driverstandings.json This should return the same data as http://api.jolpi.ca/ergast/f1/2023/22/driverstandings.json which works correctly.