authscape 1.0.292 → 1.0.294

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 CHANGED
@@ -4301,7 +4301,7 @@ var setupOEMProps = /*#__PURE__*/function () {
4301
4301
 
4302
4302
  // get the companyId
4303
4303
  _context.next = 10;
4304
- return apiService().get("/WhiteLabel/GetCompanyIdFromDomain?domain=" + pageProps.host);
4304
+ return apiService().get(process.env.apiUri + "/api/WhiteLabel/GetCompanyIdFromDomain?domain=" + pageProps.host);
4305
4305
  case 10:
4306
4306
  response = _context.sent;
4307
4307
  if (response != null && response.status == 200) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authscape",
3
- "version": "1.0.292",
3
+ "version": "1.0.294",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -19,7 +19,7 @@ export const setupOEMProps = async ({Component, ctx}) => {
19
19
  }
20
20
 
21
21
  // get the companyId
22
- let response = await apiService().get("/WhiteLabel/GetCompanyIdFromDomain?domain=" + pageProps.host);
22
+ let response = await apiService().get(process.env.apiUri + "/api/WhiteLabel/GetCompanyIdFromDomain?domain=" + pageProps.host);
23
23
  if (response != null && response.status == 200)
24
24
  {
25
25
  pageProps.oemCompanyId = response.data;