LACMTA / metro-api-v2

Docs: https://lacmta.github.io/metro-api-v2/ Dev: https://dev-metro-api-v2.ofhq3vd1r7une.us-west-2.cs.amazonlightsail.com/docs
https://api.metro.net/docs
0 stars 3 forks source link

Fix router import in main.py #500

Closed albertkun closed 6 months ago

albertkun commented 6 months ago

This pull request fixes the router import in the main.py file. The import statement has been updated from @router.get to @app.router.get. This ensures that the correct router is used for the WebSocket endpoint.