Skip to content

Commit 6decb4d

Browse files
committed
updates
1 parent cfed3d1 commit 6decb4d

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

components/akeneo/actions/get-product/get-product.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ export default {
3333
"withQualityScores",
3434
],
3535
},
36-
withCompleteness: {
36+
withCompletenesses: {
3737
propDefinition: [
3838
akeneo,
39-
"withCompleteness",
39+
"withCompletenesses",
4040
],
4141
},
4242
},
@@ -48,7 +48,7 @@ export default {
4848
with_attribute_options: this.withAttributeOptions,
4949
with_asset_share_links: this.withAssetShareLinks,
5050
with_quality_scores: this.withQualityScores,
51-
with_completeness: this.withCompleteness,
51+
with_completenesses: this.withCompletenesses,
5252
},
5353
});
5454

components/akeneo/actions/search-products/search-products.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default {
5050
withCount: {
5151
type: "boolean",
5252
label: "With Count",
53-
description: "Return the count of items in the response. Be carefull with that, on a big catalog, it can decrease performance in a significative way",
53+
description: "Return the count of items in the response. Be careful: on large catalogs, enabling counts can significantly impact performance.",
5454
optional: true,
5555
},
5656
withAttributeOptions: {
@@ -71,10 +71,10 @@ export default {
7171
"withQualityScores",
7272
],
7373
},
74-
withCompleteness: {
74+
withCompletenesses: {
7575
propDefinition: [
7676
akeneo,
77-
"withCompleteness",
77+
"withCompletenesses",
7878
],
7979
},
8080
page: {
@@ -107,7 +107,7 @@ export default {
107107
with_attribute_options: this.withAttributeOptions,
108108
with_asset_share_links: this.withAssetShareLinks,
109109
with_quality_scores: this.withQualityScores,
110-
with_completeness: this.withCompleteness,
110+
with_completenesses: this.withCompletenesses,
111111
page: this.page,
112112
limit: this.limit,
113113
},

components/akeneo/akeneo.app.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ export default {
116116
label: "Attribute",
117117
description: "A code identifying the attribute",
118118
async options({ page }) {
119-
page++;
120119
const { _embedded: { items } } = await this.getAttributes({
121120
params: {
122121
limit: PAGE_SIZE,
@@ -144,7 +143,7 @@ export default {
144143
description: "Return product quality scores in the response",
145144
optional: true,
146145
},
147-
withCompleteness: {
146+
withCompletenesses: {
148147
type: "boolean",
149148
label: "With Completeness",
150149
description: "Return product completenesses in the response",

0 commit comments

Comments
 (0)