Spaces:
Sleeping
Sleeping
Update garuda/api/router.py
Browse files- garuda/api/router.py +1 -1
garuda/api/router.py
CHANGED
|
@@ -123,7 +123,7 @@ def create_booking(data: BookingRequest):
|
|
| 123 |
booking = {
|
| 124 |
"booking_id": str(uuid4()),
|
| 125 |
"customer_name": data.customer_name,
|
| 126 |
-
"
|
| 127 |
"flight_id": flight["flight_id"],
|
| 128 |
"price_paid": flight["price"],
|
| 129 |
"status": "on-process",
|
|
|
|
| 123 |
booking = {
|
| 124 |
"booking_id": str(uuid4()),
|
| 125 |
"customer_name": data.customer_name,
|
| 126 |
+
"customer_id": data.customer_id,
|
| 127 |
"flight_id": flight["flight_id"],
|
| 128 |
"price_paid": flight["price"],
|
| 129 |
"status": "on-process",
|