Skip to content

Commit

Permalink
remove double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
minjikarin committed Jun 20, 2024
1 parent 6121ecb commit 6b18472
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,24 +408,24 @@ amadeus.shopping.hotelOfferSearch('XXX').get()
// Hotel Booking API v2
amadeus.booking.hotelOrders.post(
JSON.stringfy({
"data": {
"type": "hotel-order",
"guests": [],
"travelAgent": {},
"roomAssociations": [],
"payment": {}
'data': {
'type': 'hotel-order',
'guests': [],
'travelAgent': {},
'roomAssociations': [],
'payment': {}
}})
)


// Hotel Booking API v1
amadeus.booking.hotelBookings.post(
JSON.stringify({
"data": {
"offerId": "XXXX",
"guests": [],
"payments": [],
"rooms": []
'data': {
'offerId': 'XXXX',
'guests': [],
'payments': [],
'rooms': []
}})
)

Expand Down
10 changes: 5 additions & 5 deletions src/amadeus/namespaces/booking/hotel_bookings.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ class HotelBookings {
* ```js
* amadeus.booking.hotelBookings.post(
* JSON.stringify({
* "data": {
* "offerId": "XXXX",
* "guests": [],
* "payments": [],
* "rooms": []
* 'data': {
* 'offerId': 'XXXX',
* 'guests': [],
* 'payments': [],
* 'rooms': []
* }})
* )
* ```
Expand Down
12 changes: 6 additions & 6 deletions src/amadeus/namespaces/booking/hotel_orders.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ class HotelOrders {
* ```js
* amadeus.booking.hotelOrders.post(
* JSON.stringfy({
* "data": {
* "type": "hotel-order",
* "guests": [],
* "travelAgent": {},
* "roomAssociations": [],
* "payment": {}
* 'data': {
* 'type': 'hotel-order',
* 'guests': [],
* 'travelAgent': {},
* 'roomAssociations': [],
* 'payment': {}
* }})
*)
* ```
Expand Down

0 comments on commit 6b18472

Please sign in to comment.