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