From 829d3f0c7659ea037785692a43857c51799d0144 Mon Sep 17 00:00:00 2001 From: alanna-zhou Date: Sun, 5 Apr 2020 17:37:40 -0700 Subject: [PATCH] Rename bus info to follow ithaca-transit-backend naming convention (#50) --- src/vehicles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vehicles.py b/src/vehicles.py index 5cd9f7f..2d65f3b 100644 --- a/src/vehicles.py +++ b/src/vehicles.py @@ -28,7 +28,7 @@ def parse_protobuf(rq): speed = entity.vehicle.position.speed entity_dict[vehicle_id] = { "bearing": bearing, - "congestion_level": congestion_level, + "congestionLevel": congestion_level, "latitude": latitude, "longitude": longitude, "routeID": route_id,