diff --git a/README.md b/README.md index ca0112c..7d4fd0b 100644 --- a/README.md +++ b/README.md @@ -405,7 +405,7 @@ amadeus.shopping.hotelOffersSearch.get({ // Check offer conditions of a specific offer id amadeus.shopping.hotelOfferSearch('XXX').get() -// Hotel Booking API V2 +// Hotel Booking API v2 amadeus.booking.hotelOrders.post({ guests: [], travelAgent: {}, @@ -414,7 +414,7 @@ amadeus.booking.hotelOrders.post({ }) -// Hotel Booking API V1 +// Hotel Booking API v1 amadeus.booking.hotelBookings.post( JSON.stringify({ 'offerId': 'XXX', diff --git a/src/amadeus/namespaces/booking/flight_orders.js b/src/amadeus/namespaces/booking/flight_orders.js index 295ce8f..886883c 100644 --- a/src/amadeus/namespaces/booking/flight_orders.js +++ b/src/amadeus/namespaces/booking/flight_orders.js @@ -28,7 +28,7 @@ class FlightOrders { * amadeus.booking.flightOrders.post({ * 'type': 'flight-order', * 'flightOffers': [], - * 'traveler': [] + * 'travelers': [] * }); * ``` */