Spaces:
Paused
Paused
Update app.py
Browse filesfuck i keep double jsonifying
app.py
CHANGED
|
@@ -105,7 +105,8 @@ def get_vehicle_destinations(vehicle_numbers):
|
|
| 105 |
vehicle_info[vid] = destination
|
| 106 |
|
| 107 |
# Now vehicle_info is a dict mapping vehicle IDs to their info
|
| 108 |
-
return jsonify
|
|
|
|
| 109 |
|
| 110 |
@app.route('/', methods=['GET'])
|
| 111 |
def health_check():
|
|
|
|
| 105 |
vehicle_info[vid] = destination
|
| 106 |
|
| 107 |
# Now vehicle_info is a dict mapping vehicle IDs to their info
|
| 108 |
+
return vehicle_info # cannot double jsonify!
|
| 109 |
+
|
| 110 |
|
| 111 |
@app.route('/', methods=['GET'])
|
| 112 |
def health_check():
|