@blackcode_sa/metaestetics-api 1.5.40 → 1.5.41
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.js
CHANGED
|
@@ -11835,7 +11835,7 @@ var AppointmentService = class extends BaseService {
|
|
|
11835
11835
|
console.log(
|
|
11836
11836
|
`[APPOINTMENT_SERVICE] Got user token, user ID: ${currentUser.uid}`
|
|
11837
11837
|
);
|
|
11838
|
-
const functionUrl = `https://
|
|
11838
|
+
const functionUrl = `https://europe-west6-metaestetics.cloudfunctions.net/getAvailableBookingSlotsHttp`;
|
|
11839
11839
|
const requestData = {
|
|
11840
11840
|
clinicId,
|
|
11841
11841
|
practitionerId,
|
package/dist/index.mjs
CHANGED
|
@@ -11924,7 +11924,7 @@ var AppointmentService = class extends BaseService {
|
|
|
11924
11924
|
console.log(
|
|
11925
11925
|
`[APPOINTMENT_SERVICE] Got user token, user ID: ${currentUser.uid}`
|
|
11926
11926
|
);
|
|
11927
|
-
const functionUrl = `https://
|
|
11927
|
+
const functionUrl = `https://europe-west6-metaestetics.cloudfunctions.net/getAvailableBookingSlotsHttp`;
|
|
11928
11928
|
const requestData = {
|
|
11929
11929
|
clinicId,
|
|
11930
11930
|
practitionerId,
|
package/package.json
CHANGED
|
@@ -180,9 +180,10 @@ export class AppointmentService extends BaseService {
|
|
|
180
180
|
);
|
|
181
181
|
|
|
182
182
|
// Construct the function URL - using the europe-west6 region
|
|
183
|
-
const functionUrl = `https://
|
|
183
|
+
const functionUrl = `https://europe-west6-metaestetics.cloudfunctions.net/getAvailableBookingSlotsHttp`;
|
|
184
184
|
|
|
185
|
-
// Alternate URL:
|
|
185
|
+
// Alternate direct URL (if needed):
|
|
186
|
+
// const functionUrl = `https://getavailablebookingslotshttp-grqala5m6a-oa.a.run.app`;
|
|
186
187
|
|
|
187
188
|
// Request data
|
|
188
189
|
const requestData = {
|