@gt6/sdk 1.0.31 → 1.0.33
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/gt6-sdk.cjs.js +2 -2
- package/dist/gt6-sdk.cjs.js.map +1 -1
- package/dist/gt6-sdk.esm.js +2 -2
- package/dist/gt6-sdk.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/gt6-sdk.esm.js
CHANGED
@@ -124,7 +124,7 @@ class ArticlesAPI {
|
|
124
124
|
async getCategories_p(rootCategoryId_p) {
|
125
125
|
const config = this.client.getConfig();
|
126
126
|
const categoryId = rootCategoryId_p || config.rootCategoryId_p || '671920';
|
127
|
-
const response = await this.client.request(`/article-categories/platform-${config.platformId_p}-root-${categoryId}.json`);
|
127
|
+
const response = await this.client.request(`/article-categories/platform/platform-${config.platformId_p}-root-${categoryId}.json`);
|
128
128
|
return response.categories;
|
129
129
|
}
|
130
130
|
/**
|
@@ -758,7 +758,7 @@ class ProductsAPI {
|
|
758
758
|
async getCategories_p(productRootCategoryId_p) {
|
759
759
|
const config = this.client.getConfig();
|
760
760
|
const categoryId = productRootCategoryId_p || config.productRootCategoryId_p;
|
761
|
-
const response = await this.client.request(`/product-categories/platform-${config.platformId_p}-root-${categoryId}.json`);
|
761
|
+
const response = await this.client.request(`/product-categories/platform/platform-${config.platformId_p}-root-${categoryId}.json`);
|
762
762
|
return response.categories;
|
763
763
|
}
|
764
764
|
/**
|