Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,8 +26,8 @@ def greet_json():
|
|
26 |
|
27 |
@app.get("/get_flights")
|
28 |
async def get_flights(
|
29 |
-
origin:
|
30 |
-
destination:
|
31 |
adult: int = 1,
|
32 |
child: int = 0,
|
33 |
infant: int = 0,
|
|
|
26 |
|
27 |
@app.get("/get_flights")
|
28 |
async def get_flights(
|
29 |
+
origin: str = "CGK",
|
30 |
+
destination: str ="DPS",
|
31 |
adult: int = 1,
|
32 |
child: int = 0,
|
33 |
infant: int = 0,
|