mts-booking-library 1.2.17 → 1.2.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -477,7 +477,7 @@ var JourneyBooking = /** @class */ (function (_super) {
477
477
  throw Error("The status of the cart does not allow to call this API");
478
478
  }
479
479
  url = "".concat(this.config.API_ENDPOINT, "/booking/cart/").concat(this.cart.id, "/seats");
480
- return [2 /*return*/, this.callPostApi(url, { tripId: tripId, seatsIds: newSeatsIds }).then(function (response) {
480
+ return [2 /*return*/, this.callPostApi(url, { tripId: tripId, newSeatsIds: newSeatsIds }).then(function (response) {
481
481
  if ((0, ErrorResponse_1.objectIsMTSErrorResponse)(response)) {
482
482
  return response;
483
483
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mts-booking-library",
3
- "version": "1.2.17",
3
+ "version": "1.2.18",
4
4
  "description": "Library for use MyTicketSolution Booking API",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",