@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.cjs.js
CHANGED
@@ -128,7 +128,7 @@ class ArticlesAPI {
|
|
128
128
|
async getCategories_p(rootCategoryId_p) {
|
129
129
|
const config = this.client.getConfig();
|
130
130
|
const categoryId = rootCategoryId_p || config.rootCategoryId_p || '671920';
|
131
|
-
const response = await this.client.request(`/article-categories/platform-${config.platformId_p}-root-${categoryId}.json`);
|
131
|
+
const response = await this.client.request(`/article-categories/platform/platform-${config.platformId_p}-root-${categoryId}.json`);
|
132
132
|
return response.categories;
|
133
133
|
}
|
134
134
|
/**
|
@@ -762,7 +762,7 @@ class ProductsAPI {
|
|
762
762
|
async getCategories_p(productRootCategoryId_p) {
|
763
763
|
const config = this.client.getConfig();
|
764
764
|
const categoryId = productRootCategoryId_p || config.productRootCategoryId_p;
|
765
|
-
const response = await this.client.request(`/product-categories/platform-${config.platformId_p}-root-${categoryId}.json`);
|
765
|
+
const response = await this.client.request(`/product-categories/platform/platform-${config.platformId_p}-root-${categoryId}.json`);
|
766
766
|
return response.categories;
|
767
767
|
}
|
768
768
|
/**
|