arky-sdk 0.3.11 → 0.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -770,7 +770,12 @@ var createReservationApi = (apiConfig) => {
|
|
|
770
770
|
return {
|
|
771
771
|
// ===== RESERVATIONS =====
|
|
772
772
|
async createReservation(params, options) {
|
|
773
|
-
|
|
773
|
+
const payload = {
|
|
774
|
+
businessId: apiConfig.businessId,
|
|
775
|
+
market: apiConfig.market,
|
|
776
|
+
...params
|
|
777
|
+
};
|
|
778
|
+
return apiConfig.httpClient.post(`/v1/reservations`, payload, {
|
|
774
779
|
successMessage: "Reservation created successfully",
|
|
775
780
|
errorMessage: "Failed to create reservation",
|
|
776
781
|
...options
|