Refactors control center for cars
This commit is contained in:
@@ -24,7 +24,7 @@ def get_cars_events():
|
||||
print("Is the EVENT_STORE_URL running and reachable?")
|
||||
raise e
|
||||
|
||||
return json_util.dumps({'cursor': cars})
|
||||
return json_util.dumps(cars)
|
||||
|
||||
|
||||
@app.route('/api/v1/resources/traffic_light_events', methods=['GET'])
|
||||
@@ -52,7 +52,7 @@ def get_cars():
|
||||
print("Is the entity_ident_server running and reachable?")
|
||||
raise e
|
||||
|
||||
return json_util.dumps({'cursor': cars})
|
||||
return json_util.dumps(cars)
|
||||
|
||||
|
||||
@app.route('/api/v1/resources/traffic_lights', methods=['GET'])
|
||||
|
||||
Reference in New Issue
Block a user