@in.pulse-crm/sdk 2.0.9 → 2.0.11

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.
@@ -46,7 +46,7 @@ class CustomersClient extends api_client_1.default {
46
46
  if (params.toString()) {
47
47
  baseUrl += `?${params.toString()}`;
48
48
  }
49
- const response = await this.httpClient.get(`/api/customers`);
49
+ const response = await this.httpClient.get(baseUrl);
50
50
  return response.data;
51
51
  }
52
52
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@in.pulse-crm/sdk",
3
- "version": "2.0.9",
3
+ "version": "2.0.11",
4
4
  "description": "SDKs for abstraction of api consumption of in.pulse-crm application",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -59,7 +59,7 @@ class CustomersClient extends ApiClient {
59
59
  baseUrl += `?${params.toString()}`;
60
60
  }
61
61
 
62
- const response = await this.httpClient.get(`/api/customers`);
62
+ const response = await this.httpClient.get(baseUrl);
63
63
 
64
64
  return response.data;
65
65
  }