From b997ff1d8086b1bbf82daf8d1852d20d7f945257 Mon Sep 17 00:00:00 2001 From: minjikarin Date: Thu, 20 Jun 2024 13:34:13 +0200 Subject: [PATCH] update readme --- README.md | 4 ++-- src/amadeus/namespaces/booking/flight_orders.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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': [] * }); * ``` */