summaryrefslogtreecommitdiff
path: root/src/pages/api
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-07-29 15:23:01 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-07-29 15:23:01 +0700
commita59ed6e73a599a82d6ef248c57ad29f2ab9cb15d (patch)
treed87d37a5dafda05e44123be8a0cf1791d086e3ae /src/pages/api
parentb951ed0de4285076a71f57a0e440b5e68d4a44bd (diff)
<iman> Merge branch 'Feature/category-management' into development
Diffstat (limited to 'src/pages/api')
-rw-r--r--src/pages/api/shop/product-homepage.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pages/api/shop/product-homepage.js b/src/pages/api/shop/product-homepage.js
index 02c01ee0..61732c77 100644
--- a/src/pages/api/shop/product-homepage.js
+++ b/src/pages/api/shop/product-homepage.js
@@ -36,7 +36,8 @@ const respoonseMap = (productHomepage, products) => {
name: productHomepage.name_s,
image: productHomepage.image_s,
url: productHomepage.url_s,
- products: products
+ products: products,
+ categoryIds: productHomepage.category_id_ids,
}
return productMapped