Skip to content

Commit

Permalink
style: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flobz committed Mar 23, 2024
1 parent a70b5c7 commit 5689208
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions psa_car_controller/web/view/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ def settings_section(section: str):
APP.config.write_config()
return json_response(config_section.json())


@app.route('/vehicles/trips')
def get_trips():
try:
Expand All @@ -208,6 +209,7 @@ def get_chargings():
logger.debug("Failed to get chargings, there is probably not enough data yet:", exc_info=True)
return jsonify([])


@app.route('/settings')
def settings():
return json_response(APP.config.json())
Expand Down

0 comments on commit 5689208

Please sign in to comment.