authscape 1.0.302 → 1.0.306
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/index.js +1 -1
- package/package.json +1 -1
- package/src/services/setupOEMProps.js +1 -1
package/index.js
CHANGED
|
@@ -4303,7 +4303,7 @@ var setupOEMProps = /*#__PURE__*/function () {
|
|
|
4303
4303
|
|
|
4304
4304
|
// get the companyId
|
|
4305
4305
|
_context.next = 11;
|
|
4306
|
-
return fetch(
|
|
4306
|
+
return fetch(Component.apiUrl + "/api/WhiteLabel/GetCompanyIdFromDomain?domain=" + pageProps.host);
|
|
4307
4307
|
case 11:
|
|
4308
4308
|
response = _context.sent;
|
|
4309
4309
|
_context.next = 14;
|
package/package.json
CHANGED
|
@@ -21,7 +21,7 @@ export const setupOEMProps = async ({Component, ctx}) => {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
// get the companyId
|
|
24
|
-
const response = await fetch(
|
|
24
|
+
const response = await fetch(Component.apiUrl + "/api/WhiteLabel/GetCompanyIdFromDomain?domain=" + pageProps.host);
|
|
25
25
|
pageProps.oemCompanyId = await response.json();
|
|
26
26
|
}
|
|
27
27
|
|