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,
|
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
|
}
|