@swan-admin/swan-ai-measurements 1.0.35 → 1.0.36
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/package.json +1 -1
- package/tryOn.js +1 -1
package/package.json
CHANGED
package/tryOn.js
CHANGED
|
@@ -107,7 +107,7 @@ class TryOn {
|
|
|
107
107
|
}
|
|
108
108
|
return new Promise(async (resolve, reject) => {
|
|
109
109
|
try {
|
|
110
|
-
const url = `${APP_AUTH_BASE_URL}${API_ENDPOINTS.TRY_ON}/?scan_id=${
|
|
110
|
+
const url = `${APP_AUTH_BASE_URL}${API_ENDPOINTS.TRY_ON}/?scan_id=${userId}&store_url=${shopDomain}&product_name=${productName}`;
|
|
111
111
|
const res = await axios.post(url);
|
|
112
112
|
if (res?.data?.tryOnProcessStatus === "failed") {
|
|
113
113
|
TryOn.disconnectSocket();
|