Spaces:
Sleeping
Sleeping
jonathanjordan21
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -70,6 +70,7 @@ async def get_flights(
|
|
70 |
if response.status_code == 200:
|
71 |
out = response.json()
|
72 |
data = out["data"]
|
|
|
73 |
return {"results":data["airlines"]}
|
74 |
else:
|
75 |
print(f"Error: {response.status_code}")
|
|
|
70 |
if response.status_code == 200:
|
71 |
out = response.json()
|
72 |
data = out["data"]
|
73 |
+
print("SUCCESS!!")
|
74 |
return {"results":data["airlines"]}
|
75 |
else:
|
76 |
print(f"Error: {response.status_code}")
|