mts-booking-library 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -148,7 +148,7 @@ var ServiceBooking = /** @class */ (function (_super) {
|
|
148
148
|
return __awaiter(this, void 0, void 0, function () {
|
149
149
|
var url;
|
150
150
|
return __generator(this, function (_a) {
|
151
|
-
url = "".concat(this.config.API_ENDPOINT, "/booking/
|
151
|
+
url = "".concat(this.config.API_ENDPOINT, "/booking/services?").concat(new URLSearchParams(__assign(__assign(__assign({}, (this.sellerId && { sellerId: this.sellerId.toString() })), (cityName && { cityName: cityName })), { currency: currency })));
|
152
152
|
return [2 /*return*/, (0, apiCall_1.makeGet)(url)];
|
153
153
|
});
|
154
154
|
});
|